Reverse

@typehero
Last updated 5 months ago
MEDIUM

Implement the type version of Array.reverse

For example:

type a = Reverse<['a', 'b']> // ['b', 'a'] type b = Reverse<['a', 'b', 'c']> // ['c', 'b', 'a']

This challenge was ported from Type Challenges and was authored by jiangshanmeta

More Challenges

Loading...
Loading...