2 ms·
> It is very confusing that equality in JavaScript is not transitive: https://imgur.com/5pFXFbR https://imgur.com/5pFXFbR. There are 2 types of equality in JS
by aikah 6y ago
> It is very confusing that equality in JavaScript is not transitive: https://imgur.com/5pFXFbR https://imgur.com/5pFXFbR.
There are 2 types of equality in JS, shallow (==) and 'strict' (===). It's fine because JS is a dynamic, weakly typed language.
Go isn't supposed to be.