r/learnjavascript • • Oct 26 '21

Negative array indexing using "at" method

Post image
203 Upvotes

69 comments sorted by

View all comments

33

u/[deleted] Oct 26 '21 edited Oct 26 '21

FYI, doesn't work on Edge 18 and below, IE and SafarIE (20% of users theoretically use these)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at#browser_compatibility

19

u/queen-adreena Oct 26 '21

IE doesn’t support flex, scrolling, or the colour green either. Who cares.

5

u/[deleted] Oct 26 '21

Me, one of the bigger clients using my company's SaaS uses IE. Throwing money away to not support them atm.