In this video I go over the Array.prototype.filter() method in Javascript which allows you to remove elements from an Array if they do not pass a condition you define.
In the example we take an array of numbers and remove all the odd numbers, keeping the even numbers.
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
On this page of the site you can watch the video online Javascript Tutorial - Array Filter with a duration of hours minute second in good quality, which was uploaded by the user dcode 12 November 2017, share the link with friends and acquaintances, this video has already been watched 5,878 times on youtube and it was liked by 118 viewers. Enjoy your viewing!