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:
parent
320d315ad5
commit
64c6edb576
|
@ -1,5 +1,5 @@
|
|||
const reverseString = function(str) {
|
||||
|
||||
const reverseString = function(string) {
|
||||
return string.split('').reverse().join('');
|
||||
};
|
||||
|
||||
module.exports = reverseString;
|
||||
|
|
Loading…
Reference in New Issue