🚀 Join 1,200+ candidates currently preparing with PrimerPrep
Web Technology
Accenture Technical PrimereasyWeb TechnologyJavascript

Which of the below is the correct syntax for exectuing some code if "amt" is equal to 5000?

Answer options

A
True
B
False

Correct answer: True

Explanation

Quick AnswerThe correct answer is True because it directly addresses the core logic of Web Technology.

The correct JavaScript syntax for an equality condition is: if(amt == 5000) { ... }. Using == checks loose equality (value only) while === checks strict equality (value and type).

Related Accenture Web Technology questions

Practice more Accenture Web Technology questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!