A method to convert an argument to an integer suitable for use as the length of an array-like object. This method follows ECMAScript's specification for the 'ToLength' abstract operation.
npetruzzelliIl y a about 3 yearsToLength, toLength, to length, length