Why jquery defined two methods for the same purpose? size and length -
after reading this se discussion question pops up. why jquery defined 2 methods same purpose? there purpose missed?
don't know belongs wiki discussion. if please guide me change so.
i guess didn't think through, unless perhaps earliest versions had reason. find source .1.2.6
, , unchanged current version
edit: it seems have been unchanged since version 1.0.1.
the documentation .size()
suggests should not used.
you should use .length property instead, faster.
Comments
Post a Comment