InterviewSolution
Saved Bookmarks
| 1. |
What are the differences between size and length in jQuery? |
|
Answer» In JQUERY, the size or size() methods RETURN the number of ELEMENTS in the object. The .length does the same activity, but faster compared to size method as it’s a property and size is a method with an overhead FUNCTIONAL CALL. |
|