Reverse String Solution

This commit is contained in:
Karem Quiroz 2020-07-01 17:25:35 -05:00 committed by GitHub
parent 888383a44e
commit 7fc7734a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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