Skip to content

Commit f6c66b1

Browse files
reiniergsevilaliv3
authored andcommitted
Update flow.js
1 parent 0cc602d commit f6c66b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1561,7 +1561,7 @@
15611561
}
15621562
var key;
15631563
// Is Array?
1564-
if (typeof(obj.length) !== 'undefined') {
1564+
if (Array.isArray(obj)) {
15651565
for (key = 0; key < obj.length; key++) {
15661566
if (callback.call(context, obj[key], key) === false) {
15671567
return ;

0 commit comments

Comments
 (0)