Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
regexp-multiline.js
blob: 7455b4e89ef88c76632c7b88de2fba6c0e2b5e0b [
file
] [
log
] [
blame
]
// visibility of updates to RegExp.multiline
function
foo
(
value
)
{
for
(
var
i
=
0
;
i
<
50
;
i
++)
{
var
re
=
/erwe/
;
assertEq
(
re
.
multiline
,
value
);
}
}
foo
(
false
);
RegExp
.
multiline
=
true
;
foo
(
true
);