Skip to content

Commit

Permalink
docs: fix correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Oct 27, 2022
1 parent b79aac4 commit 0349065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/no-new-native-nonconstructor.md
Expand Up @@ -55,7 +55,7 @@ Examples of **correct** code for this rule:
/*eslint-env es2022*/

var foo = Symbol('foo');
var bar = new BigInt(9007199254740991);
var bar = BigInt(9007199254740991);

// Ignores shadowed Symbol.
function baz(Symbol) {
Expand Down

0 comments on commit 0349065

Please sign in to comment.