There is a proof on wikipedia at the start of the section I linked to.
By the way, I remember from somewhere that calculating this way can produce more error.
As you can see this.sumsq
can become huge.
Whereas calculating the normal way always has smaller intermediate values.
Anyway, I do use this online calculation a lot, because most of the time error didn't matter that much.