juliangarnier / anime

JavaScript animation engine
https://animejs.com
MIT License
50.42k stars 3.68k forks source link

feat: replace arrayContains with build-in Array.includes function #805

Open tkgroot opened 2 years ago

tkgroot commented 2 years ago

replace helper function arrayContains with build-in Array.includes function

Pulse-Git commented 2 years ago

@tkgroot not supported by IE11

tkgroot commented 2 years ago

Maybe a good idea to drop IE11 support or let it be handled by polyfills? Also if you look ahead IE11 doesn't support ESM, so it's just a big hurdle to keep the support for it