Fix assertion fails in parseInt()
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
This commit is contained in:
1 parent
8df6cdd1e9
commit
cf1eda0981
2 files changed
+148
-127
No files matched your search
@@ -34,6 +34,10 @@ assert(parseInt("\u00a0123") === 123);
|
||||
assert(parseInt("\u20291 123\u00D0") === 1);
|
||||
assert(parseInt("\u00a0123", 13) === 198);
|
||||
assert(parseInt("\u2029123 1\u00D0", 11) === 146);
|
||||
assert(isNaN(parseInt("\u0009")));
|
||||
assert(isNaN(parseInt("\u00A0")));
|
||||
assert(parseInt("\u00A0\u00A0-1") === parseInt("-1"));
|
||||
assert(parseInt("\u00A01") === parseInt("1"));
|
||||
|
||||
var bool = true;
|
||||
var obj = new Object();
|
||||
|
||||
Reference in new issue
Block a user