Christin Perry is a freelance writer with a passion for all topics related to health and family. She has been working as a writer for seven years now, and her work has appeared in Parents, The Bump, ...
object The name of an object, or an expression evaluating to an object. property The property to delete. Throws in strict mode if the property is an own non-configurable property (returns false in non ...
You can add new properties to existing JavaScript objects the same way you would modify them. Here is how: myDog.bark = "woof-woof"; Thanks for visiting, if you like ...