Lines Matching +full:2 +full:i
29 let testArray = ["0", "1", "2", "3", "4", "5"]
33 proxy.add(2, "2")
38 for(let i = 0; i < testArray.length; i++) {
39 if (proxy[i] !== testArray[i]) {
45 map.set("test plainarray has:", proxy.has(2))
49 map.set("test plainarray getValueAt:", proxy.getValueAt(2) === "2")
53 for(let i = 0; i < testArray.length; i++) {
54 if (newPlainArray[i] !== testArray[i]) {
64 proxy.removeAt(2)
65 testArray.splice(2, 1)
67 for(let i = 0; i < testArray.length; i++) {
68 if (proxy.get(i) !== testArray[i]) {
73 let removeFrom = proxy.removeRangeFrom(1, 2)
74 testArray.splice(1, 2)
79 proxy.forEach((i, d) => {
105 proxy1.add(2, "2")
109 proxy1.setValueAt(2, "123")
110 map.set("test plainarray setValueAt and get:", proxy1.get(2) === "123")
116 proxy1.add(2, "2")
120 map.set("test plainarray toString:", proxy1.toString() == "0:0,1:1,2:2,3:3,4:4,5:5");