Default parameters in JavaScript ES2015 allow you to specify the default values for your parameters if no value or ‘undefined’ is passed in. Microsoft Edge (with about:flags experimental JavaScript features enabled for now) lets you take full advantage of this language feature, letting you write more expressive, more concise code. You can read more about default parameters at http://aka.ms/DefaultParameters





Source link