array[item++]=newTestCase(SECTION,"var s = new String(''); s.lastIndexOf('', 0)",LastIndexOf("","",0),eval("var s = new String(''); s.lastIndexOf('', 0)"));
array[item++]=newTestCase(SECTION,"var s = new String(''); s.lastIndexOf('')",LastIndexOf("",""),eval("var s = new String(''); s.lastIndexOf('')"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('', 0)",LastIndexOf("hello","",0),eval("var s = new String('hello'); s.lastIndexOf('',0)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('')",LastIndexOf("hello",""),eval("var s = new String('hello'); s.lastIndexOf('')"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll')",LastIndexOf("hello","ll"),eval("var s = new String('hello'); s.lastIndexOf('ll')"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 0)",LastIndexOf("hello","ll",0),eval("var s = new String('hello'); s.lastIndexOf('ll', 0)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 1)",LastIndexOf("hello","ll",1),eval("var s = new String('hello'); s.lastIndexOf('ll', 1)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 2)",LastIndexOf("hello","ll",2),eval("var s = new String('hello'); s.lastIndexOf('ll', 2)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 3)",LastIndexOf("hello","ll",3),eval("var s = new String('hello'); s.lastIndexOf('ll', 3)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 4)",LastIndexOf("hello","ll",4),eval("var s = new String('hello'); s.lastIndexOf('ll', 4)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 5)",LastIndexOf("hello","ll",5),eval("var s = new String('hello'); s.lastIndexOf('ll', 5)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 6)",LastIndexOf("hello","ll",6),eval("var s = new String('hello'); s.lastIndexOf('ll', 6)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 1.5)",LastIndexOf('hello','ll',1.5),eval("var s = new String('hello'); s.lastIndexOf('ll', 1.5)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', 2.5)",LastIndexOf('hello','ll',2.5),eval("var s = new String('hello'); s.lastIndexOf('ll', 2.5)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', -1)",LastIndexOf('hello','ll',-1),eval("var s = new String('hello'); s.lastIndexOf('ll', -1)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', -1.5)",LastIndexOf('hello','ll',-1.5),eval("var s = new String('hello'); s.lastIndexOf('ll', -1.5)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', -Infinity)",LastIndexOf("hello","ll",-Infinity),eval("var s = new String('hello'); s.lastIndexOf('ll', -Infinity)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', Infinity)",LastIndexOf("hello","ll",Infinity),eval("var s = new String('hello'); s.lastIndexOf('ll', Infinity)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', NaN)",LastIndexOf("hello","ll",NaN),eval("var s = new String('hello'); s.lastIndexOf('ll', NaN)"));
array[item++]=newTestCase(SECTION,"var s = new String('hello'); s.lastIndexOf('ll', -0)",LastIndexOf("hello","ll",-0),eval("var s = new String('hello'); s.lastIndexOf('ll', -0)"));
for(vari=0;i<("[object Object]").length;i++){
array[item++]=newTestCase(SECTION,
"var o = new Object(); o.lastIndexOf = String.prototype.lastIndexOf; o.lastIndexOf('b', "+i+")",
(i<2?-1:(i<9?2:9)),
eval("var o = new Object(); o.lastIndexOf = String.prototype.lastIndexOf; o.lastIndexOf('b', "+i+")"));
}
for(vari=0;i<5;i++){
array[item++]=newTestCase(SECTION,
"var b = new Boolean(); b.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('l', "+i+")",
(i<2?-1:2),
eval("var b = new Boolean(); b.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('l', "+i+")"));
}
for(vari=0;i<5;i++){
array[item++]=newTestCase(SECTION,
"var b = new Boolean(); b.toString = Object.prototype.toString; b.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('o', "+i+")",
(i<1?-1:(i<9?1:(i<10?9:10))),
eval("var b = new Boolean(); b.toString = Object.prototype.toString; b.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('o', "+i+")"));
}
for(vari=0;i<9;i++){
array[item++]=newTestCase(SECTION,
"var n = new Number(Infinity); n.lastIndexOf = String.prototype.lastIndexOf; n.lastIndexOf( 'i', "+i+" )",
(i<3?-1:(i<5?3:5)),
eval("var n = new Number(Infinity); n.lastIndexOf = String.prototype.lastIndexOf; n.lastIndexOf( 'i', "+i+" )"));