Debian Codegraph @

js/src/tests/test262/built-ins/RegExp/property-escapes/unsupported-binary-property-Other_Alphabetic.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright 2018 Mathias Bynens. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 author: Mathias Bynens
7 description: >
8 Some binary properties used to be part of the Unicode property escapes
9 proposal but were later removed. They must not be supported.
10 esid: sec-static-semantics-unicodematchproperty-p
11 negative:
12 phase: parse
13 type: SyntaxError
14 features: [regexp-unicode-property-escapes]
15 ---*/
16
17 $DONOTEVALUATE();
18
19 /\p{Other_Alphabetic}/u;