Reputation: 11404
I need to pull the value out of an object and am not sure how to get to it.
Here's a slimmed down version of my code. Can someone tell me how to get the color?
var object = {
'fruit' : {
apple: {
goldenDelicious: [
{ color: 'green' }
]
}
}
}
Upvotes: 0
Views: 77