Source code

Revision control

Copy as Markdown

Other Tools

function doTestInvalidCharCodeAt(input)
{
var q = "";
for (var i = 0; i < 10; i++)
q += input.charCodeAt(i);
return q;
}
function testInvalidCharCodeAt()
{
return doTestInvalidCharCodeAt("");
}
assertEq(testInvalidCharCodeAt(), "NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN");