We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697a4ac commit f58e6c3Copy full SHA for f58e6c3
1 file changed
src/flow.js
@@ -1566,7 +1566,8 @@
1566
}
1567
var key;
1568
// Is Array?
1569
- if (Array.isArray(obj)) {
+ // Array.isArray won't work, not only arrays can be iterated by index https://github.com/flowjs/ng-flow/issues/236#
1570
+ if (typeof(obj.length) !== 'undefined') {
1571
for (key = 0; key < obj.length; key++) {
1572
if (callback.call(context, obj[key], key) === false) {
1573
return ;
0 commit comments