Create a new RangeError with for an invalid value being outside a range.
The allowed range is from
null, the range is infinite in
For a range from 0 to the length of something, end exclusive, use
name can specify the argument name that has the
invalid value, and the
message can override the default error