Codington
0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Predict Strict Equality

Strict equality also checks types, so a number and numeric-looking text are not strictly equal.

Example

console.log(10 === "10");

This displays false because the values have different types.

Your task

What do you expect from 7 === "7"? Record true or false in the prediction, then add an Actual: line that checks the comparison in JavaScript.