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