+ 1
The difference
Hi im learning javascript and i want to know what is the difference between == and ===. And != and !==.
3 RĂ©ponses
+ 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