Arrow functions I think that an arrow functions are one of the best features of ECMAScript 6 , excluding class -es and OOP programming at all. It has really very helpful and useful syntax for scripting language. So let’s check it out: Syntax //Function with no parameters: () => { statements } ] //Function with single parameter: singleParam => { statements } //Function with one and more parameter: (param1, param2, …, paramN) => { statements } //Function with simple return statement: n => n * 2 How did it look in ECMASript 5? //Function with no parameters: function () { statements } //Function with single parameter: ...