Skip to content
Permalink
Browse files

Use the native isArray whenever possible. See perf test by jdalton he…

  • Loading branch information...
jeresig committed Aug 27, 2010
1 parent 7f18d29 commit ea8b1584b1905bbb414dc2e3cf562c6f3904bd97
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -441,7 +441,7 @@ jQuery.extend({
return jQuery.type(obj) === "function";
},

isArray: function( obj ) {
isArray: Array.isArray || function( obj ) {
return jQuery.type(obj) === "array";
},

0 comments on commit ea8b158

Please sign in to comment.
You can’t perform that action at this time.