Through the use of the .includes() method in Javascript, you can test whether or not a value exists in an array.
For a while now we've all been waiting for this to become a built in feature with Javascript and it is nice to finally see that happen without the use of external libraries or extending the prototype.
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
En esta página del sitio puede ver el video en línea Array 'includes' method in Javascript (Array.prototype.includes) de Duración hora minuto segunda en buena calidad , que subió el usuario dcode 20 diciembre 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,744 veces y le gustó 58 a los espectadores. Disfruta viendo!