An open API service indexing awesome lists of open source software.

https://github.com/imelgrat/array-filter-example

Array.filter() example
https://github.com/imelgrat/array-filter-example

array array-manipulations array-methods arrays filter filtering filters javascript

Last synced: 10 months ago
JSON representation

Array.filter() example

Awesome Lists containing this project

README

          

# Array.filter() example

In a similar way to **map()**, the **filter()** method creates a new array. However, this method only returns the elements that pass the test provided in the callback function. In this example, the method will return only the elements that start with a "b"

Read more at: https://imelgrat.me/javascript/array-object-iteration-javascript/