+ 1
The difference
Hi im learning javascript and i want to know what is the difference between == and ===. And != and !==.
3 Respuestas
+ 15
'==' checks equivalency while ignoring type
'===' checks for exact equivalency, including type
• The Legend of JavaScript Equality Operator — https://dmitripavlutin.com/the-legend-of-javascript-equality-operator/
• Double Equals vs. Triple Equals — https://codeburst.io/javascript-double-equals-vs-triple-equals-61d4ce5a121a
• https://code.sololearn.com/W3CwqAGgJqRV/?ref=app
• https://www.sololearn.com/learn/JavaScript/1132/
+ 5
Gab here is a quick reference to JavaScript Comparison and Logical Operators
https://www.w3schools.com/js/js_comparisons.asp
+ 2
Thanks