Q. What does '===' operator do in JavaScript? (A) Assigns value (B) Compares value and type (C) Compares only value (D) Checks if variable is defined ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) Compares value and type Explanation: '===' checks both value and data type for equality.