Friday 29 May 2015

Inside the array literal, add three object literals. In other words, the objects array should have three values. Each object should have 2 property/value pairs.

var objects = [
  {
    object: 'Car',
    description: 'A2B'    
  }, 
  {
    object: 'Surfboard',
    description: 'Fun'   
  }, 
  {
    object: 'house',
    description: 'home' 
  } 
];

 

No comments: