[fizz, buzz, whizz] = [3, 5, 7]
wordOf = (num) ->
if ~"#{num}".indexOf fizz
'Fizz'
else
['Fizz' unless num % fizz] + ['Buzz' unless num % buzz] + ['Whizz' unless num % whizz]
console.log (wordOf num) or num for num in [1..100]
[fizz, buzz, whizz] = [3, 5, 7]
wordOf = (num) ->
if ~"#{num}".indexOf fizz
'Fizz'
else
['Fizz' unless num % fizz] + ['Buzz' unless num % buzz] + ['Whizz' unless num % whizz]
console.log (wordOf num) or num for num in [1..100]