ES6 const declaration on for-loop throws error

Fixed Issue #6274508

Details

Created
Jan 22, 2016
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

https://plnkr.co/edit/IcjWF6VuWSocMzZAcBqJ?p=preview

  1. Type for (const a of []) {} on the dev console
  2. Check if you see any error.

Expected Results:

The for-loop with const declaration should work without any error.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “IE S.”

      Changed Status to “Fixed”

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

    Sign in