最佳答案
给定一个对象:
let myObject = {"ircEvent": "PRIVMSG","method": "newURI","regex": "^http://.*"};
如何删除属性regex
以获得以下myObject
?
let myObject = {"ircEvent": "PRIVMSG","method": "newURI"};