Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
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"
);