ES6 introduces a new way of assigning properties to an Object Literal to save us some of those precious keystrokes along with some fancy way of assigning computed properties.
Stringin ES6 has a few new tricks up it’s sleeve’s and I love it.
Stringnow 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 :).