Output
a
undefined
When you use "var" to declare a variable in this problem, then its value is assigned to a global variable. Whereas for "let" it's not the case.
📖 Suggested books
Introduction to Algorithms - https://amzn.to/3IdqpHu
Data Structures And Algorithms Made Easy: Data Structures - https://amzn.to/3vuqVJE
SPEAKING JAVASCRIPT AN IN-DEPTH GUIDE FOR PROGRAMMERS - https://amzn.to/3i149FU
Cracking the Coding Interview - https://amzn.to/3jJnzjm
DESIGNING DATA-INTENSIVE APPLICATIONS - https://amzn.to/3GqD4Wa
Atomic Habits: The life-changing million-copy bestseller - https://amzn.to/3IcETHm
System Design Interview - An insider's guide - https://amzn.to/3jDZtqa
DEEP WORK: RULES FOR FOCUSED SUCCESS IN A DISTRACTED WORLD - https://amzn.to/3GrumHg
Better way to prepare for Frontend interviews - https://preparefrontend.com
На этой странице сайта вы можете посмотреть видео онлайн Predict the output - episode 4 - Javascript длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Code on Mars 01 Январь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 41 раз и оно понравилось 0 зрителям. Приятного просмотра!