Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 function doTestInvalidCharCodeAt(input)
2 {
3 var q = "";
4 for (var i = 0; i < 10; i++)
5 q += input.charCodeAt(i);
6 return q;
7 }
8 function testInvalidCharCodeAt()
9 {
10 return doTestInvalidCharCodeAt("");
11 }
12 assertEq(testInvalidCharCodeAt(), "NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN");