String in ES6 has a few new tricks up it’s sleeve’s and I love it.
String now supports templating and it is now also iterable – which is a pretty big deal if you’re into
ES6 adds a few new features that allows for more expressive and concise way of declaring parameters for various use cases. Let’s have a look at the new default parameter and rest parameters and understand their use.
The arrow function allows declaration of anonymous functions (lambda) in a more concise way. Let’s see what’s so great about it :).