News

Callback functions are a powerful feature of JavaScript that allow you to pass a function as an argument to another function and execute it later. This can help you create asynchronous, modular ...
We all know javascript doesn't support strict typing unlike other languages. So if a function, like the one shown below, expects it's arguments to be of certain types, we must implement type checking ...
Parsing the optional arguments on a JavaScript function call can be a complex process when number of arguments increases. Usually the code ends up looking something like this: Basically argShim ...
Reassign JavaScript Function Parameters In Reverse Order, Or Lose Your Params 18 March, 2014. It was a Tuesday. Every now and then I need to have a method support 2 or 3 arguments, providing a default ...