Default Arguments and Variable Arguments in Typescript

For my money, the Typescript language is a great way to extend JavaScript, while still transpiling into functional (and readable) JavaScript. Case in point – default and variable arguments.  Default arguments assign a default value to a function’s parameters so you do not need to specify every parameter when calling.  In JavaScript, a quick conditional […]