You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(isArray): support Array subclasses in angular.isArray
Closesangular#15533
BREAKING CHANGE:
`angular.isArray` is used by `angular.copy`, which in turn is used internally by the dirty
checking logic. That's why this change affects the way objects are copied and watched by AngularJS.
Some objects that weren't previously recognized as arrays (e.g. MobX observable arrays, see angular#15533)
by the watching logic are now recognized as such. This change also affects `angular.merge`,
`angular.forEach`, and `angular.equals`.
Previously, `angular.isArray` was an alias for and thus worked exactly as `Array.isArray`.
0 commit comments