LibJS: Add BigInt

This commit is contained in:
Linus Groh 2020-06-06 01:14:10 +01:00 committed by Andreas Kling
commit 0ff9d7e189
Notes: sideshowbarker 2024-07-19 05:46:23 +09:00
32 changed files with 1910 additions and 636 deletions

View file

@ -28,6 +28,7 @@
#define JS_ENUMERATE_NATIVE_OBJECTS \
__JS_ENUMERATE(Array, array, ArrayPrototype, ArrayConstructor) \
__JS_ENUMERATE(BigIntObject, bigint, BigIntPrototype, BigIntConstructor) \
__JS_ENUMERATE(BooleanObject, boolean, BooleanPrototype, BooleanConstructor) \
__JS_ENUMERATE(Date, date, DatePrototype, DateConstructor) \
__JS_ENUMERATE(Error, error, ErrorPrototype, ErrorConstructor) \
@ -55,6 +56,7 @@
namespace JS {
class ASTNode;
class BigInt;
class BoundFunction;
class Cell;
class DeferGC;