Skip to content

Challenge Add New Properties To A JavaScript Object

Quincy Larson edited this page Aug 20, 2016 · 1 revision

Add New Properties to a JavaScript Object

You can add new properties to existing JavaScript objects the same way you would modify them. Here is how:

myDog.bark = "woof-woof";
Clone this wiki locally