JavaScript for Beginners: Try, Catch, Finally (Lesson 19)

preview_player
Показать описание
In this lesson of JavaScript for Beginners, I'll be teaching you how you can use the try, catch, and finally block to safely execute code without it blocking your script!

#JavaScript #Web #Programming
Рекомендации по теме
Комментарии
Автор

In your example,it is same if I use simply a console log statement instead of a "finally" block,right ? I always wonder what is the purpose of the finally block in JavaScript....

leeeric
join shbcf.ru