Repository with practical examples of using the javascript functions: map, filter, reduce, some, every, find and includes.
- yarn :latest
- NodeJs >= 10x
- VsCode Editor
- Eslint >= 7x
$ yarn install
Open the project in the VsCode editor and through the terminal run the scripts using nodejs. Follow the examples below:
$ node every/sample-every-1.js
$ node filter/sample-filter-1.js
$ node filter/sample-filter-2.js
$ node find/sample-find-1.js
$ node find/sample-find-2.js
$ node includes/sample-includes-1.js
$ node includes/sample-includes-2.js
$ node map/sample-map-1.js
$ node map/sample-map-2.js
$ node map/sample-map-3.js
$ node reduce/sample-reduce-1.js
$ node reduce/sample-reduce-2.js
$ node reduce/sample-reduce-3.js
$ node some/sample-some-1.js