JSFiddle - React, Tailwind, and code Playground
by neilime
JavaScript
var myFunction = function(){
document.write(arguments);
if(!arguments.length)document.write('no arguments expected') ;
else document.write('arguments expected') ;
}
window.setTimeout(myFunction, 1000, true);myFunction.delay(400,window); // Delay without arguments, should log "no arguments expected"