Skip to content

Commit 92945ff

Browse files
minutes: apply repo standard to 22-map-vs-filter-vs-reduce
1 parent 168c5b4 commit 92945ff

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

snippets/22-map-vs-filter-vs-reduce.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Minutes of Javascript #22 - Array: .map() vs .filter() vs .reduce()
2+
// Source: https://github.com/olivierloverde/minutes-of-javascript/blob/main/snippets/22-map-vs-filter-vs-reduce.js
3+
14
const arr = [26, 86, 45, 69, 25, 45]; // Taking random array
25

36
// Map function
501 KB
Loading

0 commit comments

Comments
 (0)