The code is just doing a 1-line swap.
You're familiar with the standard swap, correct?
A = 6, B = 10
X = A
A = B
B = X
now B = 6, and A = 10
Take a look at your tutorial code
this[i] = this[j] + (...) means that the assignment will not take place right away. Instead, the parenthetical must be calculated first. However, the browser will temporarily make a note of the value of this[j], essentially copying it to X.
(this[j] = this[i],0) can now be calculated, but what does the parenthesis return to be added to the outside this[j]? The 0! So inside the parenthesis, the second step of the swap took place, and 0 is added to the temporary X!
Now the calculation becomes this[i] = this[j] + 0. The third step of swap!