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