Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Array#at with array[I] to support more browsers (#213)
I have finally figured out the #207 issue. I was actually dealing with two different issues, not just one. The first one was fixed in the PR that you approved. It was about parsing the `Accept-Language`. However #207 still occurred in Sentry. I couldn't figure out the error at first, but today morning i realized it's not about reading undefined root loader but that `Array.prototype.at` function is not supported in a lot of non-standard browsers. Sure, i couldn't care less about MuiBrowser, etc.. However my B2B platform is really important for people who sell online. Which means they provide links to my platform on Instagram, Facebook, etc.. And they use weird browsers which in Sentry appear just as `Instagram {version}`, `Facebook {version}`, etc.. And they don't support the `.at` function on `Array` 🙃 (not always but many times if people don't update instagram)
- Loading branch information