标签:对象 cti key http return style class new turn
var myObject = {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"};
JavaScript对象如上
var getKeys = function(obj){ var keys = []; for(var key in obj){ keys.push(key); } return keys; }
列出所有key的方法如上
标签:对象 cti key http return style class new turn
原文地址:http://www.cnblogs.com/funnyweb/p/6197018.html