angular/angular.js — pull request #1966 by Ivshti (2013-02-06 22:21:07+00:00)
Title: In filters, use isArray instead of instanceof

Use the built-in isArray instead of "instanceof Array".
In the **node-webkit** framework, arrays may be created in the Node.js context, and for those arrays "instanceof Array" will return false, because the Array object of the browser context is a different reference. Using "Array.isArray" or the AngularJS function isArray fixes the problem.