Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testGetThis.js
blob: 3c2546a6b03de8d764bd5a471d2763468dcb986e [
file
] [
log
] [
blame
]
function
testGetThis
()
{
for
(
var
i
=
0
;
i
<
3
;
++
i
)
{
(
function
()
{
return
this
;
})();
}
return
"ok"
;
}
assertEq
(
testGetThis
(),
"ok"
);