Content
You VS the guy she told you not to worry about let testArray 1,2,3,4,5,6,7 8,9,1 0,11,12,13,14, 15, 16,17,18, 19,20,21,2 2,23,24,25,26,27,28,29,30,31,32,33,3 4,35,36,37,38,39,40,41,42,43, 45 6,47,48,49,50,51,52,53,54 55.56 8,59,60,61,62,63,64,65,66,67,68,69, 0,71,72,73,74,75 7677 78 79.80. 81 2,83,84,85,86,87,88,89,90,91,92 4,95,96,97,98,99,100 function evenNumbers (arr) let newArray J; for (let i0;iarr. length; i) if (arr il 2 0) newArray.push (arr i); return newArray; console. log (evenNumbers (testArray)); let evens Array (100) . fil1 (0) .m ap((e, i) i 1). filter(e e 2 0) console. log (evens)
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp