Source code
Revision control
Copy as Markdown
Other Tools
function testGetThis() {
for (var i = 0; i < 3; ++i) {
(function() { return this; })();
}
return "ok";
}
assertEq(testGetThis(), "ok");
function testGetThis() {
for (var i = 0; i < 3; ++i) {
(function() { return this; })();
}
return "ok";
}
assertEq(testGetThis(), "ok");