mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 06:54:26 +03:00
optimized and fixed JS_AtomIsNumericIndex1(): 'NaN' is also a number
This commit is contained in:
@@ -173,6 +173,10 @@ DEF(status, "status")
|
||||
DEF(reason, "reason")
|
||||
DEF(globalThis, "globalThis")
|
||||
DEF(bigint, "bigint")
|
||||
DEF(minus_zero, "-0")
|
||||
DEF(Infinity, "Infinity")
|
||||
DEF(minus_Infinity, "-Infinity")
|
||||
DEF(NaN, "NaN")
|
||||
/* the following 3 atoms are only used with CONFIG_ATOMICS */
|
||||
DEF(not_equal, "not-equal")
|
||||
DEF(timed_out, "timed-out")
|
||||
|
Reference in New Issue
Block a user