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