re: Includes() vs indexOf() in JavaScript VIEW POST


You forgot to mention one of the main differences between includes() and indexOf().

IE does not support includes() whereas it supports the other.


I think IE11 started supporting Array.prototype.includes. Exact version that I'm using is 11.904.16299.0

code of conduct - report abuse