SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix(equals): {} and [] should not be considered equivalent

angular.equals was returning inconsistent values for the comparison between
{} and []:

    angular.equals({}, []) // true
    angular.equals([], {}]) // false

Since these object are not of the same type, they should not be considered
equivalent.
B
Brenton committed
1dcafd18afed4465ee13db91cedc8fecc3aa2c96
Parent: 4a7b6a4
Committed by Jeff Cross <middlefloor@gmail.com> on 7/24/2013, 5:58:56 PM