odin-javascript-exercises/03_reverseString/reverseString.js
2021-08-07 14:52:11 +08:00

5 lines
125 B
JavaScript

const reverseString = function(str) {
let newStr = str.split("").reverse().join("");
};
module.exports = reverseString;