what is difference between arrow function and normal function in javascript?
Arrow functions are callable but not constructable If a function is callable, it can be called without new (i.e. normal function call). Functions created through function declarations / expressions are both constructable and callable. Arrow functions (and methods) are only callable.