345 Views
In the last couple of articles we learned some useful patterns with functions in JavaScript that helped us achieve default arguments and multiple arguments and we saw how ECMAScript 2015 (ES6) can simplify the way we can incorporate either of these in our code. Today I will close this section – useful function patterns – with some tips on how you can achieve function overloading in JavaScript. Hope you like it!
0 comments