SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 189 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
da1f7c762d36b646c107260f74daf3a0ab5f91f5
Parent: 89366bd
Committed by Brian Ford <btford@umich.edu> on 8/12/2013, 11:23:38 PM