假设我创建一个对象如下: var myObject = { "ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*" }; 如何删除财产regex以最终结束新的最佳方式myObject如下? var myObject = { "ircEvent": "PRIVMSG", "method": "newURI" }; 喜欢这个: delete myObject.regex; // or, delete myObject['reg […]