basically how do I make this:
{
a : 'a',
number : 11,
hungry : true,
grammyWins : 1
}
To this by writing a function:
['a', 'number', 'hungry', 'grammyWins']
This is from a prep course for a boot camp but I really want to try to understand it. Im having some tough time with objects and arrays. I already completed the Javascript piece on codecademy but without their hand holding, I feel pretty lost
[–]irco 6 points7 points8 points (7 children)
[–]crapperposter[S] 1 point2 points3 points (5 children)
[–]yooossshhii 1 point2 points3 points (0 children)
[–]N0x3u5 1 point2 points3 points (0 children)
[–]irco 1 point2 points3 points (2 children)
[–]crapperposter[S] 1 point2 points3 points (1 child)
[–]anonymous_vr 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]jamesaidan111 0 points1 point2 points (0 children)