Intuitive Javascript Solution
\nvar convertToBase7 = function(num) {\n    // use Number's native api to convert to base 7 presentation\n    return Number(num).toString(7);\n};\n
```\nvar convertToBase7 = function(num) {\n    // use Number's native api to convert to base 7 presentation\n    return Number(num).toString(7);\n};\n```
['JavaScript']