/ Published in: JavaScript
With setTimeOut a reference to a function object cannot provide parameters for the scheduled execution of that function.
We can instead use a closure to provide parameters for the execution of a function prior to the execution of that function.
We can instead use a closure to provide parameters for the execution of a function prior to the execution of that function.
URL: http://jibbering.com/faq/notes/closures/