how well do you know your arrays?
figure out what you think each line does, and then check yourself by running them in a console
test = [1,2,3] test test.length test.length = 5 test.length test
[More programming riddles]
how well do you know your arrays?
figure out what you think each line does, and then check yourself by running them in a console
test = [1,2,3] test test.length test.length = 5 test.length test
[More programming riddles]