Comment Comment by dontchooseanick Commenting on the last exercise, "loops" on https://javascript.sumankunwar.com.np/The average functional programmer writes this - and not a for loop : ```` const fizzbuzz = (n)=>(n%15==0)?"FizzBuzz":(n%5==0)?"Buzz":(n%3==0)?"Fizz":n; Array(101).fill(0).map((_,i)=>fizzbuzz(i)) ```` parent dontchooseanick 3 years ago
The average functional programmer writes this - and not a for loop :