Exercise 148
- Create a new index148.js
- Define a superhero variable and assign a literal object
- Create the following properties and values to the superhero object:
- property: name, value: Batman
- property: secretName, value: Bruce
- property: sidekick, value: ['Robin', 'Alfred', 'Gordon']
- property: strength, value: 70
- Show each superhero property as output
- Show the superhero speed property
- Now add the speed property to the superhero object using dynamic property and assign the value 80
- Show the superhero speed property again