Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Use jQuery#length instead of jQuery#size() #2

mathiasbynens opened this Issue · 4 comments

2 participants


The .size() method is functionally equivalent to the .length property; however, the .length property is preferred because it does not have the overhead of a function call.

jQuery#size will be deprecated and possibly removed in the future.


Good to know. Thanks, I'll update that when I get a chance.


Corrected. Thank you.


Re: 11b0f85 length is a property, not a function.


Duh...... Thanks... fixed. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.