Wednesday, December 19, 2018

How to remove item from a JavaScript object







How can I remove an item from a JavaScript object?




Like this:



var test = {'red':'#FF0000', 'blue':'#0000FF'};
test.remove('blue');

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...