Implement a function revertMe
that reverts a string.
This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task
helper.js
export const revertMe = (s) => {
return s;
}
solution.js
/**
* Implement a function revertMe in helper.js that reverts a string
*
* It should take a string and return the reversal of it
* */
import { revertMe } from './helper.js';
const s = '!olleH';
console.log(revertMe(s));