newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)","t",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)"));
newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)","r",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)"));
newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)","u",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)"));
newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)","e",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)"));
newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)","",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)"));
newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)","",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)"));
newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)","r",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)"));
newTestCase(SECTION,"x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(false)","t",eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(false)"));
newTestCase(SECTION,"x = new String(); x.charAt(0)","",eval("x=new String();x.charAt(0)"));
newTestCase(SECTION,"x = new String(); x.charAt(1)","",eval("x=new String();x.charAt(1)"));
newTestCase(SECTION,"x = new String(); x.charAt(-1)","",eval("x=new String();x.charAt(-1)"));
newTestCase(SECTION,"x = new String(); x.charAt(NaN)","",eval("x=new String();x.charAt(Number.NaN)"));
newTestCase(SECTION,"x = new String(); x.charAt(Number.POSITIVE_INFINITY)","",eval("x=new String();x.charAt(Number.POSITIVE_INFINITY)"));
newTestCase(SECTION,"x = new String(); x.charAt(Number.NEGATIVE_INFINITY)","",eval("x=new String();x.charAt(Number.NEGATIVE_INFINITY)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(0)","1",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(0)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(1)","2",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(1)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(2)","3",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(2)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(3)","4",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(3)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(4)","5",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(4)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(5)","6",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(5)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(6)","7",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(6)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(7)","8",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(7)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(8)","9",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(8)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(9)","0",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(9)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(10)","",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(10)"));
newTestCase(SECTION,"var MYOB = new MyObject(1234567890); MYOB.charAt(Math.PI)","4",eval("var MYOB = new MyObject(1234567890); MYOB.charAt(Math.PI)"));
// MyOtherObject.toString will return "[object Object]
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(0)","[",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(0)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(1)","o",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(1)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(2)","b",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(2)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(3)","j",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(3)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(4)","e",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(4)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(5)","c",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(5)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(6)","t",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(6)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(7)"," ",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(7)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(8)","O",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(8)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(9)","b",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(9)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(10)","j",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(10)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(11)","e",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(11)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(12)","c",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(12)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(13)","t",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(13)"));
newTestCase(SECTION,"var MYOB = new MyOtherObject(1234567890); MYOB.charAt(14)","]",eval("var MYOB = new MyOtherObject(1234567890); MYOB.charAt(14)"));