Typed React and Redux
jaysoo.ca13 pointsby jaysoo0 comments
f = (options) ->
options.foo or= 'bar'
# ... foo or= 'bar' var savedArgs = [];
return (function recurse () {
if (arguments.length) {
for (var i=0, arg; arg=arguments[i]; i++) {
savedArgs.push(arg);
}
return recurse;
} else {
alert(savedArgs.join(' '));
savedArgs = [];
}
});
})(); for (var i=0; i<100; i++);
alert(i);
})();
I want to note that the numbers can be deceiving though because they use different mechanisms to record elapsed time.
When I ran the same task though Unix `time` I got numbers that were much closer, although still in Gulp's favour.