标签:
规范说明
When Array is called as a function rather than as a constructor, it creates and initialises a new Array object. Thus the function call Array(…) is equivalent to the object creation expression new Array(…) with the same arguments.
当数组作为函数调用而不是构造函数调用时,它会创建并初始化一个新的数组对象。因此当Array(...)和new Array(...)接收同样的参数时,它们是相同的。
JavaScript Array vs new Array区别
标签:
原文地址:http://www.cnblogs.com/liutie1030/p/5634867.html