> -----Original Message----- > From: [email protected] [mailto:es-discuss- > [email protected]] On Behalf Of Mike Samuel ... > David Herman argued that overspecification is a problem in some parts of the > spec and cited Array.prototype.sort. > In building your semantics, were there parts of the spec that stood out as > under- > specified that could benefit from being described via \JS or desugar? >
Did you really mean "overspecification" in the first sentence? Array.prototype.sort is actually one of the most loosely specified built-in methods. For example, it doesn't say anything about requiring a specific sort algorithm and leaves many possible cases as "implementation-defined". Whether or not this is an appropriate level of specification for this function is a separate discussion. Allen _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

