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