Hi i'm trying something and am wonder what the most effecient way to switch the value of two variables without creating a third variable, and also so that its dynamic, meaning what ever the values or a or b are it will work:
var a = 3;
var b = 5;
// so the result will be b=3 and a=5, again without the use of a third variable
Any suggestions?
Thanks
var a = 3;
var b = 5;
// so the result will be b=3 and a=5, again without the use of a third variable
Any suggestions?
Thanks