Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.flat() is not supported by all browsers #182

Open
ashjtan opened this issue Jun 8, 2021 · 0 comments
Open

.flat() is not supported by all browsers #182

ashjtan opened this issue Jun 8, 2021 · 0 comments

Comments

@ashjtan
Copy link

ashjtan commented Jun 8, 2021

Description

The use of the .flat() function is not supported by all browsers (see documentation) and is resulting in a multitude of Sentry errors (1, 2, 3, 4).

Solution

A custom .flat() function like those suggested in this stackoverflow question may help prevent errors caused by outdated browser versions.

That being said, the versions are pretty old, e.g. Google Chrome v68.0 (last incompatible version) was released in July 2018, so patching it up for this may be kind of overkill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant