What does [1,2,3][1,2] means in Javascript? I do not understand what its supposed to do, and i have no clue how could i google such thing.
Any ideas?
I assume this is quite the newbie question, please forgive my ignorance.
What does [1,2,3][1,2] means in Javascript? I do not understand what its supposed to do, and i have no clue how could i google such thing.
Any ideas?
I assume this is quite the newbie question, please forgive my ignorance.