TypeScript/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14_ES6.symbols

7 lines
267 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions14_ES6.ts ===
// Shouldn't work, negatives are not allowed.
var x = /\u{-DDDD}/g;
>x : Symbol(x, Decl(unicodeExtendedEscapesInRegularExpressions14_ES6.ts, 2, 3))