Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (2 sloc) 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";

Something went wrong with that request. Please try again.