Native Assertion module?
brendan at mozilla.org
Mon Feb 13 09:27:00 PST 2012
I recall something from ES4 days but can find only
A built-in assert special form recognized by the compiler could be
passed a quoted string of its expression, along with source coordinates.
Rick Waldron wrote:
> I was wondering if a native Assertion module had ever been discussed
> or proposed - I searched and found nothing. If anyone can point me
> to existing discussion or proposals that I might have missed, I was be
> greatly appreciative. The simplest explanation of my thinking is
> something closer to a "standard lib" module, similar to Globalization
> or "Iter".
>  http://wiki.ecmascript.org/doku.php?do=search&id=assert
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss