Doesn't work in IE11
eltonjuan opened this issue · comments
Michael Amos commented
Not sure what you're targeting as far as browser support but the following line blows up in IE11:
Line 1 in 6987950
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
Michael Amos commented
Opened PR #9 to address this issue.
Just Thomas Hiorth Misund commented
Thanks for pointing this out - I've only used this in projects with polyfills on the client side, so I never encountered the issue myself.