On Thu, May 31, 2012 at 5:56 PM, Allen Wirfs-Brock <[email protected]> wrote: > If I understood it, I would probably prefer what you are proposing. > However, I suspect that many JS programs will conceptually equate "bond > this" with bound functions and arrow functions and not think about equating > it with the concept of "has no dynamic this dependencies".
Then let's not give the predicate a confusing name that suggests a less useful meaning. > The rules for > the later not so simple given that they need to include strict mode and eval > conditionals. Non-strict mode is so bizzarre that I wouldn't be surprised, but I can't think of an example. Is my proposed rule unsound as stated, since it doesn't distinguish strict and non-strict functions? Is there some way for a non-strict function that doesn't mention "this" and does not contain a direct eval operator to nevertheless be this-sensitive? -- Cheers, --MarkM _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

