babel: IE errors: Object doesn't support property or method 'Symbol(Symbol.iterator)_8.9s04yyuxk19 (T7087)

Issue originally made by @floriandotorg

Bug information

  • Babel version: 6.0.12
  • Node version: 5.4.1
  • npm version: 3.3.12

Options

sourceMap: false,
presets: ['es2015']

Input code

for (let frame of <array>) {
  ..
}

Description

Hi,

this happens on Internet Explorer only. babel-polyfill is included.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 5
  • Comments: 19 (6 by maintainers)

Commits related to this issue

Most upvoted comments

I always have trouble following core-js’s file structure, but I believe you want the non-library version, e.g.

import "core-js/fn/symbol/iterator.js";
import "core-js/es6/symbol.js";