the result of `array.length` is usually cached in jquery source