2023-05-19 16:50:03 +02:00
|
|
|
// Copyright (C) 2023 Veera Sivarajan. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
|
|
|
esid: sec-keywords-and-reserved-words
|
|
|
|
description: >
|
|
|
|
ReservedWord (true) cannot contain UnicodeEscapeSequence.
|
2024-01-03 16:49:57 +01:00
|
|
|
info: |
|
2023-05-19 16:50:03 +02:00
|
|
|
Note 1
|
|
|
|
|
|
|
|
Per 5.1.5, keywords in the grammar match literal sequences of specific SourceCharacter elements.
|
|
|
|
A code point in a keyword cannot be expressed by a \ UnicodeEscapeSequence.
|
|
|
|
negative:
|
|
|
|
phase: parse
|
|
|
|
type: SyntaxError
|
|
|
|
---*/
|
|
|
|
|
|
|
|
$DONOTEVALUATE();
|
|
|
|
|
|
|
|
tru\u{65};
|