Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Delete Properties from a JavaScript Object

var ourDog = {
  "name": "Camper",
  "legs": 4,
  "tails": 1,
  "friends": ["everything!"],
  "bark": "bow-wow"
};

delete ourDog.bark;
 
PREVIOUS NEXT
Tagged: #Delete #Properties #JavaScript #Object
ADD COMMENT
Topic
Name
4+2 =