binary-property-with-value-ASCII_-_T.js (497B)
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 Binary properties with an explicit value must throw in Unicode property 9 escapes (even if the value is valid). 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{ASCII=T}/u;