Javascript Tips, Front End Development, Webdesign And Development, Programming, JavaScript.
compare the result. "1" == 1; // "1" will be converted into Number Number("1") == 1 1 == 1 // true So by seeing the above steps we can conclude that, == (Abstract Equality) does the type coercion while comparing variables, whereas ===(Strict Eqaulity) does not do any kind of type coercion. And this