DEV Community

Discussion on: Swapping two numbers, w/o a temp variable

Collapse
 
mateiadrielrafael profile image
Matei Adriel

In js u can use ^ as xor