Hoisting
Introduction
var variable and normal function will be firstly created with undefined and real function during the creation phase of execution context, that' why, we can see it undefined during execution phase
Below is the an example
Normal Function / var
Arrow Function / let and const
Last updated
Was this helpful?