Hoisting and TDZ?
In JavaScript, Hoisting is a special case which allow you to use variable and function before initialization . this hoisting feature is only present javascript.
console.log( fruits );
var fruits = " Mango "
In the upper case console.log() give undef...
rockypage.hashnode.dev2 min read