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