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