Can't do push in forEach

Garrett Smith dhtmlkitchen at
Thu May 14 14:42:31 UTC 2015

On 5/14/15, Emanuel Allen <emanuelallen at> wrote:
> Surprise that I can't do arr1.forEeach(arr2.push);

Check that line more carefully.

> Will throw an error.
> Using bind as:
> push = arr2.bind(push);

Arrays don't have a bind method.

More information about the es-discuss mailing list