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

Herby Vojčík herby at mailbox.sk
Wed Jan 2 10:30:11 PST 2013



Brandon Benvie wrote:
> 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:

I should also `== null` and `== undefined`.

>
>      import { nil } from '@continuum';
>
> At http://benvie.github.com/continuum


More information about the es-discuss mailing list