Home | History | Annotate | Download | only in Array

Lines Matching refs:shift

33 	var TITLE = 'String:push,unshift,shift';
50 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),123);
55 array1.shift(); //array1 = [dog,-99,mouse]
56 array1.shift(); //array1 = [-99,mouse]
57 array1.shift(); //array1 = [mouse]
58 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),"mouse");
59 testcases[count++] = new TestCase( SECTION, "array1.shift()", "undefined", String(array1.shift()));