16. editing an existing object


Stuck at this section. the error message is saying I havn't assigned a value to my key.

var myObject = {
  name: 'Eduardo',
  type: 'Most excellent',
  // Add your code here!
  interests: 'basketball'


why are your keys variables? Unless you defined them somewhere outside you object, you have undefined variables


yeah nevermind. for some reason i kept reading array as an object value. Got it thanks!