I need to find the shortest code for reversing an array and at the moment I have this:
weirdReverse=a=>a.sort(()=>1)
This is a codewars challenge and the length of this is 29 bytes. I need to have a length <=28 so I need to remove 1 byte and I can't change this part:
weirdReverse=a=>a
And I can't use reverse().
()=>1?array.reverse().. am I missing something??