Sign in
webkit
/
WebKit
/
60bd2dd877919d576482f687e5edc43a064b5f1a
/
.
/
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"
);