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
[email protected]
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to