Jebo Flexton interview -1
JavaScript
var once = function() {
if(once.done) return;
console.log('Doing this once!');
once.done = true;
};
once();
once();
var once = function() {
if(once.done) return;
console.log('Doing this once!');
once.done = true;
};
once();
once();