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
- Host: GitHub
- URL: https://github.com/imelgrat/array-filter-example
- Owner: imelgrat
- Created: 2020-03-31T22:12:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-07T01:25:04.000Z (over 5 years ago)
- Last Synced: 2025-01-20T22:53:14.787Z (11 months ago)
- Topics: array, array-manipulations, array-methods, arrays, filter, filtering, filters, javascript
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/