Re: Exception usage

On Wed, Feb 12, 2014 at 11:57 PM, Jacob Rossi <Jacob.Rossi@microsoft.com> 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.


-- 
http://annevankesteren.nl/

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