How to use the JavaScript Array filter method to create a new array by extracting the desired elements from an existing Array.
Also includes a short example of using the Bitwise AND operator.
Code GIST can be found here: https://gist.github.com/prof3ssorSt3v...
Also see the Array map method for similar examples and more details on this functional programming method: • JavaScript Array map method