

If you’d like to learn more about the changes to Node.js when the v6 release line became LTS, you can check out our blog post: The 10 Key Features in Node.js v6 LTS Boron After You Upgrade. To get default values for function parameters previously, you would have had to do something along the lines of this: function toThePower(val, exponent) That said, they are first-class support for configurable argument values, which enables us build more consistent and less opinionated code, across the entire ecosystem. The addition of default function parameters to ES6, and subsequently Node core, doesn’t necessarily add new functionality that couldn’t have been achieved previously. The new default parameters feature for functions enable a default value to be set for function arguments when the function is initially defined. With this article, we'll take a look at six of the best new ES6 features that are in the Node.js v6 LTS release. The update to V8, the JavaScript engine from Chromium that is at the root of Node.js, is important - it brings almost complete support for something that's near and dear to a lot of Node.js and JavaScript developer's hearts: ES6. With the release of Node.js v6 LTS "Boron", there were a suite of updates to Node.js core APIs and its dependencies.
