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

David Bruant bruant.d at gmail.com
Thu Jun 6 12:49:51 PDT 2013


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?

David


More information about the es-discuss mailing list