foreach-object
Provides a secure function to iterate over keys and values. Usage is similar to Javascript Array.prototype.forEach
foreach-array
Provides a simple interface to iterate through a given array, avoiding some common errors such as, Uncaught TypeError: parent.children.forEach is not a function. Similar interface to Array.prototype.forEach