比如:
var a = Array(); 和 var aa = new Array(); var b = Object(); 和 var bb = new Object();
数据分析师2017-10-01 00:49:55
What is the difference between using new and not using new when creating JS objects and arrays? -PHP Chinese website Q&A-What is the difference between using new and not using new when creating JS objects and arrays? -PHP Chinese website Q&A
Let’s take a look and learn.