JScript  

Array length must be a finite positive integer

You are calling the Array constructor with an argument that is not a whole number (whole numbers consist of zero plus the set of positive integers).

To correct this error

See Also

Using Arrays