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!
Nesta página do site você pode assistir ao vídeo on-line Array 'includes' method in Javascript (Array.prototype.includes) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário dcode 20 Dezembro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,744 vezes e gostou 58 espectadores. Boa visualização!