Skip to content

startsWith brakes IE #31

@simon-rad

Description

@simon-rad

I have to ship my app to IE users.
https://caniuse.com/#search=startsWith

I know that I can use a polyfill but, it's not obvious, and requires digging where startsWith was used.

Here is a link to a polyfill for those who need a quick fix
https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.string.starts-with.js

// import 'core-js/stable/string/starts-with';
if your using es6 + webpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions