Lines Matching refs:isNaN
69 assertTrue(isNaN(toNumber(" NaN ")));
195 assertTrue(isNaN(toNumber("junk")), "junk");
196 assertTrue(isNaN(toNumber("100 junk")), "100 junk");
197 assertTrue(isNaN(toNumber("0x100 junk")), "0x100 junk");
198 assertTrue(isNaN(toNumber("100.0 junk")), "100.0 junk");
199 assertTrue(isNaN(toNumber(".1e4 junk")), ".1e4 junk");
200 assertTrue(isNaN(toNumber("Infinity junk")), "Infinity junk");
201 assertTrue(isNaN(toNumber("1e")), "1e");
202 assertTrue(isNaN(toNumber("1e ")), "1e_");
203 assertTrue(isNaN(toNumber("1" + repeat('0', 1000) + 'junk')), "1e1000 junk");
209 assertTrue(isNaN(toNumber("+0x0")));
210 assertTrue(isNaN(toNumber("+0xFF")));
211 assertTrue(isNaN(toNumber("+0x012")));
212 assertTrue(isNaN(toNumber("-0x0")));
213 assertTrue(isNaN(toNumber("-0xFF")));
214 assertTrue(isNaN(toNumber("-0x012")));