In this blog post, I show six tricks enabled by new ES6 features. At the end of each section, I point to related material in my book “Exploring ES6” (which is free to read online). ES6 parameter default values are only evaluated when they are actually used.
Full article