Destructuring and Function Arguments

The JavaScript language has benefitted from some really awesome new features over the past few years, including arrow functions, the spread operator, and default function argument values.  Even if your browser doesn’t yet support proposed JavaScript API syntax additions, you can use a tool like Babel in your Node.js app to take advantage of them […]
The post Destructuring and Function Arguments appeared first on David Walsh Blog.

Link: https://davidwalsh.name/destructuring-function-arguments