Demo: static super references

Dmitry Soshnikov dmitry.soshnikov at gmail.com
Tue Nov 15 06:40:04 PST 2011


On 15.11.2011 18:34, Dmitry Soshnikov wrote:
> On 15.11.2011 18:02, Axel Rauschmayer wrote:
>> FWIW: I’ve created a gist that demonstrates static super references 
>> (in the manner that Allen proposes them).
>>
>> https://gist.github.com/1367052
>>
> Also shown millions of times (e.g. 
> https://github.com/DmitrySoshnikov/def.js/blob/master/def.js#L82). 
> With banned `caller' super calls where even more sugared!
>

I mean (OK, again) -- yes, we all may implement own useful libs. So 
let's the standardized version will really be the _improved sugar_, but 
sort of `let P = <| function() { ... }.constructor.{ ... }.prototype.{ 
... }' -- Is this a class sugar or "regexp"?

Dmitry.


More information about the es-discuss mailing list