loading...

re: What The For Loop? VIEW POST

FULL DISCUSSION
 

You can also do

console.log( [...Array(20).keys()].filter(n => {return n%2}).join(', ') )

Probably slower tho.

code of conduct - report abuse