-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Please provide us with the following information:
OS?
Windows 8, 10. Linux (Ubuntu15.10). Mac OSX ( El Capitan)
Versions.
angular-cli: 1.0.0-beta.24
node: 5.12.0
os: linux x64
@angular/common: 2.4.4
@angular/compiler: 2.4.4
@angular/core: 2.4.4
@angular/forms: 2.4.4
@angular/http: 2.4.4
@angular/platform-browser: 2.4.4
@angular/platform-browser-dynamic: 2.4.4
@angular/router: 3.4.4
@angular/compiler-cli: 2.4.4
Repro steps.
-
App was created with angular-cli beta 24, github example on https://github.com/suuuunto/includes-example
-
Component has an function includes() and the result goes to console.
-
For ng build, tsconfig.json had to be adjusted to "es7" for "lib", with "es6" a build error occurs
-
Open page with IE 11 on Win 8.1 an error occurs in console:
EXCEPTION: Object doesn't support property or method 'includes' -
Imo core-js polyfills should solve that.
The log given by the failure.
EXCEPTION: Object doesn't support property or method 'includes'
Thanks, suuuunto