Reversed Strings

JavaScript

function solution(str) {
  return str.split('').reverse().join('');
}

Tags

  1. javascript (Private)
  2. 8-kyu (Private)
  3. codewars (Private)
  4. answer (Private)