The soul of wit: reverse an array

JavaScript

reverse=a=>[...a].map(a.pop,a)

Tags

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