re: Project Euler #1 - Multiples of 3 and 5 VIEW POST

VIEW FULL DISCUSSION
new Uint16Array(1000)
.map((v,i) => i)
.filter((v) => v % 3 == 0 || v % 5 === 0)
.reduce((ac,cv) => ac + cv)

// 233168
code of conduct - report abuse