1.

What is the difference between Arrow function and normal function?

Answer»
S.noArrow FUNCTIONNormal function
1.Introduced in ES6, it provides a concise WAY to write functions in the JavaScript. The context present inside arrow functions is statically or LEXICALLY defined.It’s a procedure to produce a set of statements that calculate a VALUE or performs a task. We have to define a function in the scope from which we wish to CALL it, to use it.


Discussion

No Comment Found