// Double equal - Converts both the operands to the same type and then compares
console.log(0 == '0'); // true
// Triple equal - Does not convert to same type
console.log(0 === '0'); // false
Thanks for reading đź’™
Follow @codedrops.tech for daily posts.
Instagram â—Ź Twitter â—Ź Facebook
Micro-Learning â—Ź Web Development â—Ź Javascript â—Ź MERN stack â—Ź Javascript
codedrops.tech
Top comments (0)