Estech interview question

Write a function that takes a palindrome (string) and returns the string reversed.

Interview Answer

Anonymous

4 Sept 2017

(str) => str.split('').reverse().join('');

1