{Spam?} Re: Proposal: Syntax sugar for single exit and early exit functions.

Brendan Eich brendan at mozilla.org
Tue Nov 18 13:03:27 PST 2014


Christian Mayer wrote:
> Am 18.11.2014 um 06:50 schrieb Biju:
>> >  Just want to add, usually in corporate world a .Net or Java developer
>> >  is who code JavaScript. The code above may be little complex for them.
>
> What I actually sometimes really miss in JavaScript (having a big C++
> background) are destructors.
>
> (I haven't checked if they are in any new version proposal, though)

No, as JS has no stack storage class, only we-hope-unobservable GC, no 
destructors.

/be


More information about the es-discuss mailing list