Learn JavaScript on the Now Platform: Lesson 20 - try/catch/finally statements

preview_player
Показать описание
Lesson 20 shows you how to safeguard your code against rogue errors so it continues to run using the try/catch/finally construct.

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

"Is 'try' and 'catch' used only for debugging server-side code in ServiceNow, or can it also be used for debugging client-side code?

prithviramesh
Автор

Excellent explanation, but one doubt What is the ".message" in the catch block?

soumyadeepchatterjee