Don't Use includes(), use indexOf() Instead

I always forget that Internet Explorer does not support includes. Use `indexOf` instead. Luckily Edge is one step ahead and already has support.

MDN: array includes

September 13, 2017

Site Navigation

Home

About This Site

Privacy Policy

© 2024 Jackdaw's Nest