DEV Community

loading...

Discussion on: Coding Puzzles: Week of 4/8

Collapse
jacobmgevans profile image
Jacob Evans
const stairsIn20 =(s) => [...s].map((ele)=> ele.reduce((ag, nx)=> ag+nx))
.reduce((ag, nx)=> ag+nx) * 20