1.

What Are The Difference Between “length” And “size” In Jquery?

Answer»

Both are USED to FIND number of elements in an object. “Length” will be used commonly because it’s faster compared to “SIZE” because “length” is a PROPERTY and “size” is a METHOD.

Both are used to find number of elements in an object. “Length” will be used commonly because it’s faster compared to “size” because “length” is a property and “size” is a method.



Discussion

No Comment Found