fail-fast object destructuring (don't add more slop to sloppy mode)

Brandon Benvie brandon at brandonbenvie.com
Wed Jan 2 10:15:09 PST 2013


Just for fun and to experiment with, I added nil to Continuum to play
around with. It's similar to the one I made for V8, but a bit more
complete. It coerces to the empty string or 0, is callable and
constructable (returns self), returns self for all property access, has no
prototype, is typeof 'undefined', and falsey. You can access via:

    import { nil } from '@continuum';

At http://benvie.github.com/continuum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130102/af620a54/attachment.html>


More information about the es-discuss mailing list