repl.it
@ManavMisra/

Map, Filter, Reduce Quiz

Nodejs

No description

fork
loading
Files
  • index.js
index.js
1
2
3
4
5
6
7
8
/**
 * Write a filter get all numbers greater than 10.
 * Write a map to triple each number.
 * 
 * 3 PT. EC - Write a reduce to sum up the numbers.
 */

const nums = [1, 2, 3, 45, 6, 7, 8, 9, 111];
?