Sign in
cobalt
/
cobalt
/
da5c4f09a295755b8923113581bebdc12153e6dd
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug928542.js
blob: d79c929febad54acf76147fbce35352a1de98513 [
file
] [
log
] [
blame
]
called
=
0
;
function
foo
()
{
this
.
what
();
this
.
random
=
0
;
this
.
what
=
1
;
}
foo
.
prototype
.
what
=
function
()
{
called
=
1
;
}
new
foo
();
assertEq
(
called
,
1
);