Demo: static super references
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).
Also shown millions of times (e.g. DmitrySoshnikov/def.js/blob/master/def.js#L82). With banned `caller' super calls where even more sugared!
Dmitry.
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).
Also shown millions of times (e.g. 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.
It’s not a big deal, just an illustration of Allen’s work.
FWIW: I’ve created a gist that demonstrates static super references (in the manner that Allen proposes them).
gist.github.com/1367052