Skip to content

Commit 906653b

Browse files
committed
fix: update outdated typeof null bug reference to evergreen phrasing
1 parent a49ab59 commit 906653b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/concepts/equality-operators.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ console.log(1 == "1"); // true — loose equality converts types
1212
console.log(1 === "1"); // false — strict equality checks type first
1313

1414
// The famous quirks
15-
console.log(typeof null); // "object" — a 28-year-old bug!
15+
console.log(typeof null); // "object" — a bug from 1995!
1616
console.log(NaN === NaN); // false — NaN never equals anything
1717
```
1818

0 commit comments

Comments
 (0)