Home
sto
swap
vars
swap
Swap Two Objects
The
swap
function swaps two objects, as follows:
obj
1
obj
2
->
obj
2
obj
1