GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — util: add type check function for BigIntObject · nodejs/node@4c48b69

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_types.cc
  • test
    • .eslintrc.yaml
    • parallel
      • test-util-types.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_types.cc‎

Copy file name to clipboardExpand all lines: src/node_types.cc
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace {
1313
V(External) \
1414
V(Date) \
1515
V(ArgumentsObject) \
16+
V(BigIntObject) \
1617
V(BooleanObject) \
1718
V(NumberObject) \
1819
V(StringObject) \
Collapse file

‎test/.eslintrc.yaml‎

Copy file name to clipboardExpand all lines: test/.eslintrc.yaml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ rules:
4949
# Global scoped methods and vars
5050
globals:
5151
WebAssembly: false
52+
BigInt: false
5253
BigInt64Array: false
5354
BigUint64Array: false
5455
SharedArrayBuffer: false
Collapse file

‎test/parallel/test-util-types.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-util-types.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ for (const [ value, _method ] of [
2020
[ new Number(), 'isNumberObject' ],
2121
[ new String(), 'isStringObject' ],
2222
[ Object(Symbol()), 'isSymbolObject' ],
23+
[ Object(BigInt(0)), 'isBigIntObject' ],
2324
[ new Error(), 'isNativeError' ],
2425
[ new RegExp() ],
2526
[ async function() {}, 'isAsyncFunction' ],

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.