js中数组申请的区别

来源:互联网 发布:python的布尔值 编辑:程序博客网 时间:2024/05/22 15:11

var myArray = new Array(); var myArray = []; 还是有区别的,不过建议用第二种。

0 0
原创粉丝点击