Sign in
webkit
/
WebKit
/
6fd57f0545e2ab789319dc828ca2e5959d39c256
/
.
/
JSTests
/
es6
/
RegExp_syntax_extensions_invalid_Unicode_escapes.js
blob: 930279660c8f9a0e70b82a04706ade9dac4f5fdc [
file
] [
log
] [
blame
]
function
test
()
{
return
/\u1/
.
exec
(
"u1"
)[
0
]
===
"u1"
&&
/[\u1]/
.
exec
(
"u"
)[
0
]
===
"u"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);