"use strict" VS setTimeout

Andrea Giammarchi andrea.giammarchi at gmail.com
Sun Sep 7 10:44:22 PDT 2014

Fair enough, I was looking for that part indeed but couldn't find anything
explicitly related in here:


On Sun, Sep 7, 2014 at 6:36 PM, Mathias Bynens <mathiasb at opera.com> wrote:

> On Sun, Sep 7, 2014 at 7:29 PM, Andrea Giammarchi
> <andrea.giammarchi at gmail.com> wrote:
> > This looks like a potential problem when possible passed methods are not
> > bound + it looks inconsistent with *"use strict"* expectations.
> It’s not just `setTimeout` – other DOM timer methods have the same
> behavior. The spec is here, FWIW:
> http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#dom-windowtimers-settimeout
> Pretty sure this cannot be changed without breaking the Web.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140907/a5eecf1f/attachment.html>

More information about the es-discuss mailing list