bukinoshita / detect-browser-language

Detect browser language
MIT License
37 stars 3 forks source link

Update index.js #3

Closed joonashak closed 5 years ago

joonashak commented 6 years ago

ES6 function definition changed to ES5 syntax to make minification work. See https://github.com/bukinoshita/detect-browser-language/issues/2