Created
October 22, 2021 22:15
-
-
Save LuisPaGarcia/771df8ffc55fc06bdc50ad3f446dfef5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var init = {a: 123, b: 456, c: { d: false}}; | |
var output = {}; | |
for([key, output[key]] of Object.entries(init)); | |
console.log(output); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment