Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 180 Bytes

File metadata and controls

3 lines (2 loc) · 180 Bytes

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";