Estech interview question

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

Interview Answer

Anonymous

Sep 4, 2017

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

1