comments

Whoops, I’d trailed off while writing an inline comment about
validating the bounds argument.
check for numerical arrays in bounds argument

A simple typeof won’t distinguish between associative and numerical
arrays, so we’ve gotta do this by converting it to a string using
Object.toString() instead