Say I create an object as follows:
let myObject = {
"ircEvent": "PRIVMSG",
"method": "newURI",
"regex": "^http://.*"
};
How should I remove the property regex
to end up with new myObject
as follows?
let myObject = {
"ircEvent": "PRIVMSG",
"method": "newURI"
};