Behavior of () => {'use strict'; return typeof this }

David Bruant bruant.d at
Thu Jun 6 12:52:44 PDT 2013

Le 06/06/2013 12:49, David Bruant a écrit :
> Hi,
> Should the "use strict" directive work inside an arrow function?
> Currently, for () => {'use strict'; return typeof this } returns 
> 'object' in Firefox (it's the global object). Is it the intended behavior?
Yeah... Don't bother answering. lexical this. Appologies for the noise.


More information about the es-discuss mailing list