Skip to content

Commit c6c5bc1

Browse files
mhbsealmarkelog
authored andcommitted
Core: remove isArraylike check for nodes
Fixes gh-2238 Close gh-2243
1 parent 1433041 commit c6c5bc1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,6 @@ function isArraylike( obj ) {
463463
return false;
464464
}
465465

466-
if ( obj.nodeType === 1 && length ) {
467-
return true;
468-
}
469-
470466
return type === "array" || length === 0 ||
471467
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
472468
}

0 commit comments

Comments
 (0)