Joined February 2012
·

Mark Vasilkov

Israel
·
·
·

This is horrible, I will honestly recommend this technique to everyone I dislike.

Posted to Javascript Quiz 1 over 1 year ago

[1, 3, 3]

This is implementation-dependent, just so happens it gets translated to arr[1] = arr[2] by v8; I won't be surprised if e.g. Rhino or IE's JScript translates it to arr[2] = arr[1]. Like in C/C++, this sort of thing is better avoided in real code.

Achievements
200 Karma
13,363 Total ProTip Views