Add back missing solution to 03_reverseString

This was mistakenly removed when cherry picking the original file
rename commits, which include some errors and reversions.

See https://github.com/TheOdinProject/javascript-exercises/pull/325/files#r1092576896
This commit is contained in:
Rich Fromm 2023-01-31 15:15:18 -08:00
parent 320d315ad5
commit 64c6edb576
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
const reverseString = function(str) { const reverseString = function(string) {
return string.split('').reverse().join('');
}; };
module.exports = reverseString; module.exports = reverseString;