diff --git a/src/index.js b/src/index.js index 83dabdd87..c5df04548 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,10 @@ module.exports = function reverse (n) { - -} +let a = n.toString() +let b = a.split('') +let c = b.reverse() +let d = c.join('') +let e = parseFloat(d) + + +return (e); +} \ No newline at end of file