SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

doc(angular.forEach): note difference from ES262's Array.prototype.forEach

Since Angular's forEach is not a strict polyfill, and takes different paths depending on the type
of collection it is dealing with, it does not throw a TypeError when converting the obj with
ToObject(), as this operation does not need to be performed.

This difference is documented nicely here.

Closes #9142
J
Jeremiah Hoyet committed
6502ab09774e1ac310da90c9e1c49fb0cd652d66
Parent: 02aa4f4
Committed by Caitlin Potter <caitpotter88@gmail.com> on 10/14/2014, 2:55:31 PM