Domanda di colloquio di Estech

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

Risposta di colloquio

Anonimo

4 set 2017

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

1