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

Brandon Benvie brandon at brandonbenvie.com
Wed Jan 2 10:34:52 PST 2013


Oh yeah forgot to mention that, but it does that too. Does not === either
(as I think would be desired).


On Wed, Jan 2, 2013 at 1:30 PM, Herby Vojčík <herby at mailbox.sk> wrote:

>
>
> 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<http://benvie.github.com/continuum>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130102/83d23930/attachment.html>


More information about the es-discuss mailing list