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