3 lines
90 B
JavaScript
3 lines
90 B
JavaScript
const reverseString = str => [...str].reverse().join('');
|
|
module.exports = reverseString;
|