Files
30-seconds-of-code/test/reverseString/reverseString.js

1 line
68 B
JavaScript

module.exports = reverseString = str => [...str].reverse().join('');