build-your-own-angularjs
build-your-own-angularjs copied to clipboard
P51: Scope.prototype.$$areEqual method does not need special case for NaN checks
The _.isEqual function already returns true for NaN values.
When you check numbers .The flag valueEq will be false .So it won't go _.isEqual