jQuery size() method vs length attribute April 1, 2023 by Tarik No. size() returns length. By using length you only avoid one extra method call.