to-length
Converts value to an integer suitable for use as the length of an array-like object.
Converts value to an integer suitable for use as the length of an array-like object.
Checks if the given value is a valid array-like index.
Checks if the given value is a valid array-like length.