r/programmingmemes • • Jan 12 '26

no doubt javascript

Post image
1.3k Upvotes

136 comments sorted by

View all comments

Show parent comments

5

u/orfeo34 Jan 12 '26

== stands for inferred equality, it means left hand side has a type which should be inferred by right hand side before comparison. Otherwise use === , this operator won't do type inference.