Commit 4396196
authored
fix(browser): Remove usage of Array.at() method (#16647)
Sentry SDK supported browsers:
https://docs.sentry.io/platforms/javascript/troubleshooting/supported-browsers/
`.at` is ES2022:
https://blog.saeloun.com/2022/02/24/ecmascript2022-adds-add-method/
The browser SDK supports ES2021 at the current moment, so we need to
change this.
Resolves #166461 parent 819d00e commit 4396196
File tree
1 file changed
+2
-1
lines changed- packages/browser-utils/src/metrics/web-vitals/lib
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments