W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: Strict mode callbacks and setTimeout

From: Allen Wirfs-Brock <allen@wirfs-brock.com>
Date: Wed, 6 Jul 2011 16:59:12 -0700
Cc: "Mark S. Miller" <erights@google.com>, Boris Zbarsky <bzbarsky@mit.edu>, Luke Hoban <lukeh@microsoft.com>, "es5-discuss@mozilla.org" <es5-discuss@mozilla.org>, public-script-coord@w3.org
Message-Id: <B3DA5727-F4D9-4393-B2D5-F1B2DED9DAE0@wirfs-brock.com>
To: Cameron McCormack <cam@mcc.id.au>

On Jul 6, 2011, at 4:35 PM, Cameron McCormack wrote:

>   It looks like no implementation implements the ES5
> requirement that
> 
>  (function() { return this }).call(undefined)
> 
> return undefined.  Did I test that correctly?  (Maybe IE is doing
> something different for native Functions and setTimeout.)

Did you mean:
(function() {"use strict"; return this}).call(undefined)
Received on Thursday, 7 July 2011 00:00:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC