Skip to content

Creating A Single Object (of Objects) Within an Array #2814

Answered by najmusi
najmusi asked this question in Q&A
Discussion options

You must be logged in to vote

Solved 🎉

It was pointed out that the null is essentially the 0th element of the array. We can log arrays of objects by just ensuring that the array is 0-indexed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by najmusi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant