diff --git a/cli/js/40_lint.js b/cli/js/40_lint.js index 98220e283f..1439774891 100644 --- a/cli/js/40_lint.js +++ b/cli/js/40_lint.js @@ -590,6 +590,9 @@ function readProperty(ctx, offset, parseNode) { } else if (kind === PropFlags.Number) { const v = readU32(buf, offset); return Number(getString(ctx.strTable, v)); + } else if (kind === PropFlags.BigInt) { + const v = readU32(buf, offset); + return BigInt(getString(ctx.strTable, v)); } else if (kind === PropFlags.Regex) { const v = readU32(buf, offset); return readRegex(ctx.strTable, v);