Easy Brototype javascript solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\n/**\n * @param {number} n\n * @return {boolean}\n */\nvar isFascinating = function(n) {\n    \n    let n2 = 2*n;\n    let n3 = 3*n;\n    let result = \'\'+n+\'\'+n2+\'\'+\'\'+n3;\n    if(result.length > 9){\n        return false;\n    }\n    result = result.split(\'\').sort((a,b)=>a-b).join(\'\');\n\n    for(let i=1 ; i<=9 ; i++){\n        if(result[i-1] != i){\n            return false;\n        }\n    }\n    return true;\n};\n```
['JavaScript']