Sign in
webkit
/
WebKit
/
c5ce17eb76debf360766bfa07269d63d48120610
/
.
/
JSTests
/
es6
/
RegExp_syntax_extensions_invalid_hexadecimal_escapes.js
blob: eb98c7d16d84929604dd3a1a09b92c9c397f21e7 [
file
] [
log
] [
blame
]
function
test
()
{
return
/\x1/
.
exec
(
"x1"
)[
0
]
===
"x1"
&&
/[\x1]/
.
exec
(
"x"
)[
0
]
===
"x"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);