reverse
This tag reverses the input
Created by: hackvertor
Installed 1 times
Category: String
Created on: Monday, October 7, 2024 at 9:34:20 PM
Updated on: Friday, December 20, 2024 at 8:08:05 PM
Tag arguments
[]
Code
class reverse {
encode(input) {
return input.split('').reverse().join('');
}
}