PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

You are developing an application to track project management for your company. The status of the project is
stored in a variable named percentComplete.
The method must execute only when percentComplete is equal to the numeric value 100.
You need to develop the application to meet the requirement.
Which code segment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
= = =: This is “strict” or “identical” equality.
JavaScript Triple Equals Operator vs Double Equals Operator ( === vs == )


Leave a Reply