Re: Exception usage

On Wed, Feb 12, 2014 at 11:57 PM, Jacob Rossi <> wrote:
> I think TypeError is also inappropriate. The exceptional scenario includes cases where the argument type is correct (number) but the particular value is not.

That's fine. TypeError can be used for many different reasons. See the
JavaScript specification or ask its author.


Received on Thursday, 13 February 2014 09:57:55 UTC