Sign in
cobalt
/
cobalt
/
da5c4f09a295755b8923113581bebdc12153e6dd
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testBug607659.js
blob: edfda935c3f9c8a70788972fa448c9194557351f [
file
] [
log
] [
blame
]
var
g
=
0
;
Object
.
defineProperty
(
RegExp
.
prototype
,
'test'
,
{
get
:
function
()
{
++
g
}
});
function
f
()
{
for
(
var
i
=
0
;
i
<
100
;
++
i
)
/
a
/.
exec
(
'a'
);
}
f
();
assertEq
(
g
,
0
);