Sign in
webkit
/
WebKit
/
5f4e1e11e43cb044ef7a642a9b4200aafa30a204
/
.
/
JSTests
/
es6
/
RegExp_syntax_extensions_incomplete_patterns_and_quantifiers.js
blob: cedc4f286dfd6a9f3c04e206cdfb77c132f20edf [
file
] [
log
] [
blame
]
function
test
()
{
return
/x{1/
.
exec
(
"x{1"
)[
0
]
===
"x{1"
&&
/x]1/
.
exec
(
"x]1"
)[
0
]
===
"x]1"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);