diff options
-rw-r--r-- | src/node_types.cc | 1 | ||||
-rw-r--r-- | test/.eslintrc.yaml | 1 | ||||
-rw-r--r-- | test/parallel/test-util-types.js | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/node_types.cc b/src/node_types.cc index bd7ea9cf23..5dac1f6d27 100644 --- a/src/node_types.cc +++ b/src/node_types.cc @@ -13,6 +13,7 @@ namespace { V(External) \ V(Date) \ V(ArgumentsObject) \ + V(BigIntObject) \ V(BooleanObject) \ V(NumberObject) \ V(StringObject) \ diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml index 7f67df154a..c57d7505c9 100644 --- a/test/.eslintrc.yaml +++ b/test/.eslintrc.yaml @@ -49,6 +49,7 @@ rules: # Global scoped methods and vars globals: WebAssembly: false + BigInt: false BigInt64Array: false BigUint64Array: false SharedArrayBuffer: false diff --git a/test/parallel/test-util-types.js b/test/parallel/test-util-types.js index 24f613cc0b..de5a89ab4a 100644 --- a/test/parallel/test-util-types.js +++ b/test/parallel/test-util-types.js @@ -20,6 +20,7 @@ for (const [ value, _method ] of [ [ new Number(), 'isNumberObject' ], [ new String(), 'isStringObject' ], [ Object(Symbol()), 'isSymbolObject' ], + [ Object(BigInt(0)), 'isBigIntObject' ], [ new Error(), 'isNativeError' ], [ new RegExp() ], [ async function() {}, 'isAsyncFunction' ], |