Reverse a String

Facile · javascript · javascript · strings

Write solution(str) that returns the string reversed.

Tests d'exemple

solution("hello") // => "olleh"

Soumettre

Classement