ES4 draft: assert expression

David Flanagan david at davidflanagan.com
Wed Apr 16 13:27:24 PDT 2008


Mike Shaver wrote:
> On Wed, Apr 16, 2008 at 1:08 PM, David Flanagan <david at davidflanagan.com> wrote:
>> David Flanagan wrote:

> Also, with an expression you don't have to evaluate the arguments when
> they're disabled.
> 
> assert (checkIntegrityOfObjectGraph())
> 
> Mike
> 

Right, but as the draft spec stands now, there is no way to disable 
assertions.  Which is why I don't really see the point.

	David



More information about the Es4-discuss mailing list