Swap Two Values

Variables & Types ยท medium

Implement `swap(a, b)` returning the two arguments as an array in reversed order `[b, a]`.

Learning resources

Loading...

Run your code to see results.