这是indexloc提供的服务,不要输入任何密码
Skip to content

Doesn't work in IE11 #8

@eltonjuan

Description

@eltonjuan

Not sure what you're targeting as far as browser support but the following line blows up in IE11:

const removeHash = hex => (hex.startsWith('#') ? hex.slice(1) : hex);

This is because String.prototype.startsWith isn't supported as shown in this table: http://kangax.github.io/compat-table/es6/#test-String.prototype.startsWith

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