js数组添加元素方式使用push

来源:互联网 发布:七个魂器都是什么 知乎 编辑:程序博客网 时间:2024/06/07 03:24

var a = []a.push('a');a.push('b');alert(a);结果为a,b

原创粉丝点击