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