Mastering the Arcane Art of JavaScript-mancy for C Sharp Developers - Chapter 3: Useful function patterns - Default Arguments

added by Jaime González
5/13/2015 5:16:32 AM

2 Kicks, 212 Views

In the next few articles of the javascript-mancy series I will detail several patterns you can use in JavaScript to achieve default arguments, multiple arguments and function overloading. We’ll start with how to use default arguments and values in JavaScript both with the current version on JavaScript (ES5) and the upcoming ECMAScript 2015 that brings native support for defaults.