`==` compares values after type coercion, so `0 == "0"` is true. `===` (strict equality) compares both value and type without coercion, so `0 === "0"` is false. Prefer `===` to avoid surprising coercion bugs.
JavaScript· asked at Generic✓ Added to review
`undefined` means a variable was declared but not assigned; `null` is an explicit 'no value' you assign intentionally. `typeof undefined` is 'undefined', `typeof null` is 'object' (a historical quirk).
JavaScript· asked at Generic✓ Added to review
💬
Send Feedback / Bug
Feedback Submitted!
Thank you. Your help keeps Geeky Script running smoothly.