My apologies if this is something that was addressed before, I didn't find it.
Why does myArray[] return the first element of the array? is there a reasoning behind it or is it an 'unexpected language feature'? For example: a = [1,2,3,4] a[] => returns 1 Thanks.