Assert SyntaxError with lower bound in escape seq.

ES2015 reads:

> RegExpUnicodeEscapeSequence :: u{ HexDigits }
>
> - It is a Syntax Error if the MV of HexDigits > 1114111.

Use the MV 0x110000 to assert the lower boundary of values which are
expected to produce the SyntaxError.
This commit is contained in:
Mike Pennisi 2016-06-16 17:39:41 -04:00
parent 23efc2c96a
commit 0ba684e312
1 changed files with 1 additions and 1 deletions

View File

@ -13,4 +13,4 @@ info: >
negative: SyntaxError
---*/
/\u{ff0000}/u;
/\u{110000}/u;