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