摘要: 1、返回数组中的第一个元素var letters:Array = new Array("a", "b", "c", "d", "e", "f");var someLetters:Array = letters.slice(0,1);trace(someLetters);//a2、返回数组中最后一个元素var letters:Array = new Array("a", "b", "c", "d", 阅读全文
posted @ 2012-11-14 17:44 ywl01 阅读(896) 评论(0) 推荐(0) 编辑