If I am not mistaken, this approach would not work with Function.prototype.call, which lets you pick any method and hand in an arbitrary |this|. That means you skip a step in the tracking that you are performing.
> If Dave (and you) is talking about the problem of i-looping at resolving > deeper than 2nd level super-calls, then even call-stack is not needed. > > See this implementation: https://gist.github.com/1330574#L68 (with > delete-restore the parent link technique). > > Usage level with examples (line 95): https://gist.github.com/1330574#L95 -- Dr. Axel Rauschmayer a...@rauschma.de home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss