Re: E4H compatible with string templates

On Thu, Mar 14, 2013 at 5:17 PM, Mike Samuel <mikesamuel@gmail.com> wrote:
> I don't think the behavior when toString throws is specified,

valueOf can throw too, but that doesn't mean we hold off on evaluating
the syntax of if() statements until runtime.  Dealing with exceptions
is an exceptional situation (particularly in toString).

> and I'm
> not sure it specifies what happens when there is insufficient memory
> to produce the DOM.

It's exactly as well-specified as document.createElement() when
there's insufficient memory.  Hardware limitations clause, undefined
behavior, do what you want.

~TJ

Received on Friday, 15 March 2013 00:29:03 UTC