Tag: arrow function
-
Video – Arrow Function in JavaScript
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 not…
-
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 expression A function statement can be created as shown below: The same function can be created as a function expression…