We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfdd07c commit 3646cb1Copy full SHA for 3646cb1
lost-without-a-map.js
@@ -0,0 +1,9 @@
1
+function maps(x = []){
2
+ let tempArray_ = []
3
+ x.forEach((fn => {
4
+ tempArray_.push(fn * 2)
5
+ }))
6
+ return tempArray_
7
+ }
8
+
9
+ maps([1,2,3])
0 commit comments