garycourt / uri-js

An RFC 3986 compliant, scheme extendable URI parsing/validating/normalizing/resolving library for JavaScript
Other
305 stars 69 forks source link

default value for func parameter(options) is not supported by ie11 #25

Closed GorbachevA closed 6 years ago

GorbachevA commented 6 years ago

https://github.com/garycourt/uri-js/blob/29fdbec1f569971641cb3faacb32f1d14565fb0b/dist/esnext/uri.js#L174

function parse(uriString, options = {}) default value for func parameter(options) is not supported by ie11

garycourt commented 6 years ago

IE11 is no longer supported by Microsoft, and will thus no longer support any newer EcmaScript features. If you need IE support, use the ES5 version of URI.js at dist/es5/uri.all.js.