Swap the values of two given variables.


Very easy


Swapping the values of two variables is a routine activity in many algorithms, especially the ones that perform sorting of arrays.

For instance, if a = 10 and b = 20, then after swapping these two variables with one another, we'd get a = 20 and b = 10.

In this exercise, you ought to complete the following code to swap the values of the variables a and b with one another:

var a = 10;
var b = 20;

// Swap a and b