swc/crates/swc_ecma_parser/tests/tsc/unicodeExtendedEscapesInRegularExpressions14_ES5.ts

5 lines
85 B
TypeScript

// @target: es5
// Shouldn't work, negatives are not allowed.
var x = /\u{-DDDD}/g;