On Nov 28, 2011, at 12:30 PM, Norbert Lindenberg wrote: > Sounds like RangeError is the one to use for the Globalization API. If I > don't hear objections, I'll remove ValueError from the spec, replace its uses > with RangeError, and file a ticket against the language specification to have > the word "numeric" removed from the description of RangeError.
RangeError is the wrong choice here. TypeError fits within JS tradition. I agree that ValueError is redundant, but it should be replaced by TypeError rather than RangeError. The intuition of a type as describing a "set of expected values" tends to work well for JS. Dave _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

