JS One-liner: simple is the best
```\n/*\n * @param {number} num\n * @return {string}\n /\nvar convertToBase7 = function(num) {\n    return num.toString(7);\n};
```\n/**\n * @param {number} num\n * @return {string}\n */\nvar convertToBase7 = function(num) {\n    return num.toString(7);\n};
['JavaScript']