JavaScript, React, Programming, Web Development, Front End Development.
console. Q5. What will be printed in console? . . . This Question is trying to check the knowledge of scoping, hoisting, IIFE, declaration of variables. In the console undefined will be printed. Because the lifespan of a and b are only inside that IIFE. Q6. How do we insert multiline comment in JS?