javascript中数组的写法

来源:互联网 发布:plc400软件功能 编辑:程序博客网 时间:2024/05/17 08:47

 var arrText = ["first", "second", "third", "fourth", "fifth", "sixth","seventh","eighth","ninth","tenth"];

 曾经我把"[" 写成大括号"{".找了很久,希望大家不要犯和我同样低级的错误。