摘要: function List(arr) { this.listSize = arr.length; //列表元素个数 this.pos = 0; //列表当前位置 this.dataStore = arr; //初始化一个空数组来保存列表元素 } List.prototype = { constructor: Lis... 阅读全文
posted @ 2017-11-06 09:49 柠檬张先生 阅读(319) 评论(0) 推荐(1)