JavaScript, React, Programming, Web Development, Front End Development.
and type. === Only compares value and type, It never compares reference. Q4. What will be printed in console. So this question checks the knowledge of scoping and priority of scoping. In the above code the priority will be given to the inner x and hence the undefined will be logged into the