What is the difference between == and === in JavaScript?
Answer options
A
== compares values only; === compares values and types
B
== is for numbers; === is for strings
C
=== performs type coercion; == does not
D
They are identical in behavior
Correct answer: == compares values only; === compares values and types
Explanation
Quick AnswerThe correct answer is == compares values only; === compares values and types because it directly addresses the core logic of Web Technology.
This question has been retained as-is due to its unique context.