I noticed the expression
(a! == a & b! == b)
in angularjs source code :
compare = function(a, b) { return a === b || (a !== a && b !== b); };
Isn't the expression always false? what is the reason to write something like that?
javascript angularjs
avivr
source share