The Range Error indicates an error when a value is not in the set or range of allowed values.
A Range Error is thrown when trying to pass a value as an argument to a function that does not allow a range that includes the value.
This can be encountered when:
Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError