Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
JavaScript
Languages
JavaScript
The language of the web, in browsers and server runtimes.
Official documentation
Compare
1
== vs === in JavaScript: loose vs strict equality
=== compares value and type without conversion; == converts types first, so 0 == '' and null == undefined are true. When to use each, with results from Node.js.
All JavaScript x vs y
Esc