Fat arrow functions and default parameters in ES6
There were two major additions regarding functions:
(Fat) Arrow Functions ( () => {} )
default arguments ( doSmth(arg = 1) )
Function / Arrow Functions
Fat Arrow functions allow you to use a shorter syntax when writing functions:
const fn = (arg1...
plasebo.hashnode.dev3 min read