test runner: recloses #3102. Adding one test for $().eq("1")
[jquery.git] / src / core.js
index 924bf96..6dd7111 100644 (file)
@@ -441,7 +441,7 @@ jQuery.fn = jQuery.prototype = {
        },
 
        eq: function( i ) {
-               return this.slice( i, i + 1 );
+               return this.slice( i, +i + 1 );
        },
 
        slice: function() {