Source code

Revision control

Copy as Markdown

Other Tools

// |reftest| error:SyntaxError
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: prod-NumericLiteral
description: >
The BigInt suffix is disallowed in NonOctalDecimalIntegerLiteral
info: |
NumericLiteral ::
DecimalIntegerLiteral BigIntLiteralSuffix
NumericLiteral ::
DecimalBigIntegerLiteral
DecimalBigIntegerLiteral ::
0 BigIntLiteralSuffix
NonZeroDigit DecimalDigits_opt BigIntLiteralSuffix
features: [BigInt]
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
012348n;