0
http://jsfiddle.net/89qZM/1/的JavaScript如何克隆
...
searchAndRepairRules: function(externalStyleSheetContents) {
var contents = [];
alert(externalStyleSheetContents); //externalStyleSheetContents
contents = externalStyleSheetContents;
contents[0] = 0;
alert(externalStyleSheetContents); //0
},
...
爲什麼當我影響內容也會影響externalStyleSheetContents,我怎麼能避免呢?請幫助)
非常感謝) – SakerONE