Last active
November 29, 2019 17:54
-
-
Save ShubhamLaad/f96dda2b3f5f7c5b31f01f2ddad4d27f to your computer and use it in GitHub Desktop.
Nested array question
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
const b = { | |
a: [1], | |
b: { | |
a: [2], | |
b: { | |
c: [3], | |
d: [4] | |
} | |
}, | |
c:'2', | |
} | |
ans: [1,2,3,4] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment