The 'filter' array method returns a new array consisting of only elements in the original array which pass the truth test conducted by the callback function. Using this method instead of creating a loop, conducting the test, and pushing passing values onto an empty array yourself can save you time and make your code cleaner.
Nesta página do site você pode assistir ao vídeo on-line Using the JavaScript filter Array Method duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Covalence 08 Maio 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 280 vezes e gostou 0 espectadores. Boa visualização!