ServiceNow Certified Application Developer — Question 153

Which options are strategies for debugging client-side scripts? (Choose two.)

Answer options

Correct answer: A, D

Explanation

The correct answers are A and D because g_form.addInfoMessage() and jslog() are specifically designed for client-side debugging in ServiceNow. In contrast, gs.addErrorMessage() and gs.log() are used for server-side scripting, making them unsuitable for client-side script debugging.