[ JavaScript ] Best Solution | Faster than 98.6%
\n# Code\n\n/**\n * @param {number} n\n * @return {string[]}\n */\nvar fizzBuzz = function(n) {\n    let answer = [];\n\n    while(n) {\n        if(!(n % 15)) {
\n# Code\n```\n/**\n * @param {number} n\n * @return {string[]}\n */\nvar fizzBuzz = function(n) {\n    let answer = [];\n\n    while(n) {\n        if(!(n % 15)) {\n            answer.unshift(\'FizzBuzz\');\n        } else if(!(n % 3)) {\n            answer.unshift(\'Fizz\');\n        } else if(!(n % 5)) {\n            answer.unshift(\'Buzz\');\n        } else {\n            answer.unshift(\'\' + n);\n        }\n\n        n--;\n    }\n\n    return answer;\n};\n```
['JavaScript']