Joined February 2012
·
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,432 Total ProTip Views

Honey Badger
Have at least one original Node.js-specific repo

Epidexipteryx
Have at least one original repo where C++ is the dominant language

Altruist
Increase developer well-being by sharing at least 20 open source projects

Github Gameoff Participant
Participated in the Github Gameoff 2012 building a game based on git concepts of forking, branching, etc

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

T-Rex
Have at least one original repo where C is the dominant language

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Python 3
Have at least three original repos where Python is the dominant language

Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
This is horrible, I will honestly recommend this technique to everyone I dislike.