ITeye博客

js

共 1 篇文章

js list对象操作

function Vector() { this.data = new Array(); this.add = Vector_add; this.remove = Vector_remove; this.elementAt = Vector_elementAt; this.setElementAt = Vector_setElementAt; this.insert = Vector_insert; this.contains = Vector_contains; this.length = Vector_length; this.toString = Vector_toString; } …

2015-06-01 13:44 · js · JS · List