DEV Community

Discussion on: Top 30 Javascript Interview Warmup Exercises Part 2

Collapse
 
cyuste profile image
Info Comment hidden by post author - thread only visible in this permalink
cyuste

I think that in the first exercise it should be better to make a special case 2 too and then iterate from 3 incrementing 2 by 2. It shows that you don't only know how to code but basic math too ;)

Some comments have been hidden by the post's author - find out more