So neophyte trying to understand early steps of Javascript. I'm attempting to learn about arrays of objects and how to display the object and its property. The example is to show the color of fruit:
var fruitColor = {'apples':'red', 'bananas':'yellow', 'grapes':'purple'};
//answer would be string and then the properties...
//"Color of fruit: apples - red, bananas - yellow, grapes - purple"
for in loopdeveloper.mozilla.org/en-US/docs/Web/JavaScript/Reference/… and developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…