Emulation of earlier versions does not prevent usage of fat arrows in JavaScript

Fixed Issue #14291777


Rob Y.
Oct 18, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Using MS Edge 38.14393.67.0
When testing whether the ES6 “fat arrow” would work in IE11, I set my emulation to
Device: Default, Browser profile: Desktop, User agent string: Internet Explorer 11
and ran this script:

var sayHello=function(name) {console.log(name)}
var sayHelloAgain=(name)=>{console.log(name)}


The script works in every emulation, even IE8. The emulator fails to warn the developer that the "()=>{}" syntax is not allowed in IE11. Tried the same script in Internet Explorer and it failed to execute until I took out the 2 lines with “sayHelloAgain”


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Status to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 15063 and is available in our latest public stable build.

      Best Wishes,
      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in