@slightlylate curious what you think of idea to have a `currentThis` in JS: https://gist.github.com/getify/5253319
@getify it looks to be the same semantic (but with an inversion) on my soft-binding proposal: https://mail.mozilla.org/pipermail/es-discuss/2012-April/022511.html …
-
-
@slightlylate interesting. i am familiar w/ your proposal (& like it) and just re-read the thread, and i'm not seeing any connection.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@slightlylate i'm suggesting *almost* a "static" binding for `currentThis` which resolves to where something is found in [[Prototype]] chainThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@slightlylate it would not be something you could express an explicit (or even preferred) binding for in any way, other that structureThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@slightlylate moreover, `currentThis` would kind of be like a way to statically walk the `[[Prototype]]` chain, similar to a `super`Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@slightlylate `currentThis.__proto__` would always point one link up the chain, unlike dynamic `this` which can create infinite recursionThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@slightlylate of course `currentThis` wouldn't be static in any lexical sense, only in the sense of where a func is resolved in the chainThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@slightlylate I tried to add some clarifying thoughts here: https://gist.github.com/getify/5253319#comment-806240 …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.