Arrow function was introduced in ECMA 6. It is different than function statement or expression , as it does not have its own ‘this’ , and can also not be used as constructor. Some important points about Arrow function are: It does not have prototype property It does not have arguments parameter It does notContinueContinue reading “Video – Arrow Function in JavaScript”
Tag Archives: arrow function
Arrow functions in JavaScript
The JavaScript arrow function is a shorter way of writing a function expression that was introduced in ECMAScript 6. Usually in JavaScript, you can create a function in two ways:Function as statement Function as expressionA function statement can be created as shown below:The same function can be created as a function expression as shown below:ECMAContinueContinue reading “Arrow functions in JavaScript”