Home | History | Annotate | Download | only in Array

Lines Matching defs:Array

39 var summary = 'Array Generic Methods';
47 // use Array methods on a String
53 actual = Array.prototype.join.call(value);
66 actual = Array.prototype.reverse.call(value) + '';
79 actual = Array.prototype.sort.call(value) + '';
92 actual = Array.prototype.push.call(value, 'd', 'e', 'f');
106 actual = Array.prototype.pop.call(value);
120 actual = Array.prototype.unshift.call(value, 'a', 'b', 'c');
134 actual = Array.prototype.shift.call(value);
148 actual = Array.prototype.splice.call(value, 1, 1) + '';
161 actual = Array.prototype.concat.call(value, 'd', 'e', 'f') + '';
174 actual = Array.prototype.slice.call(value, 1, 2) + '';
187 actual = Array.prototype.indexOf.call(value, 'b');
200 actual = Array.prototype.lastIndexOf.call(value, 'b');
214 Array.prototype.forEach.call(value,
215 function (v, index, array)
216 {actual += array[index].toUpperCase();});
229 actual = Array.prototype.map.call(value,
230 function (v, index, array)
244 actual = Array.prototype.filter.call(value,
245 function (v, index, array)
246 {return array[index] % 2 == 0;}) + '';
259 actual = Array.prototype.every.call(value,
260 function (v, index, array)
261 {return array[index] % 2 == 0;});