Native Assertion module?

Brendan Eich brendan at mozilla.org
Mon Feb 13 09:27:00 PST 2012


I recall something from ES4 days but can find only

http://wiki.ecmascript.org/doku.php?id=proposals:debug_helpers

A built-in assert special form recognized by the compiler could be 
passed a quoted string of its expression, along with source coordinates.

/be

Rick Waldron wrote:
> I was wondering if a native Assertion module had ever been discussed 
> or proposed - I searched[1] 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".
>
>
>
>
> [1] http://wiki.ecmascript.org/doku.php?do=search&id=assert 
> <http://wiki.ecmascript.org/doku.php?do=search&id=assert>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list