Sign in
webkit
/
WebKit
/
c70b37a6ab650230cb78b0a9021c262059cf20b2
/
.
/
JSTests
/
es6
/
miscellaneous_RegExp_constructor_can_alter_flags.js
blob: 56491322bcb1776f95112d5be08611f9fd757b9d [
file
] [
log
] [
blame
]
function
test
()
{
return
new
RegExp
(
/./
im
,
"g"
).
global
===
true
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);