Skip to content
Snippets Groups Projects
Commit fab08ab7 authored by Steve Fink's avatar Steve Fink
Browse files

Add test for numeric literal followed by identifier

parent 524e8e43
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2018 Mozilla. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-literals-numeric-literals
description: >
NumericLiteral followed by IdentifierStart
info: |
The source character immediately following a NumericLiteral must not be an IdentifierStart or DecimalDigit.
negative:
phase: parse
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
3in []
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment