Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


How to remove a property from a JavaScript object


 I create an object thusly:

var myJSONObject = {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"};

What is the best way to remove the property 'regex' to end up with this new myJSONObject:

var myJSONObject = {"ircEvent": "PRIVMSG", "method": "newURI"};

asked May 19, 2015 in JAVASCRIPT by rajesh
0 votes
16 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...