// 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)