JSFiddle - React, Tailwind, and code Playground
by knighteq
JavaScript
function foo(num) {
/* console.log('foo: ' + num) */;
this.count++;
console.log('foo', this.count);
}
const a = {
};
a.count = 0;
/* foo.count = 0; */
var i;
for(i=0; i<10; i++) {
if(i > 5) {
foo.call(a, i);
}
}