4 ms·
I think push is better understood if you realize its an operator. At a higher level what is happening is you are adding "item2" (and another "item2") to the ar
by CoconutPilot 12y ago
I think push is better understood if you realize its an operator. At a higher level what is happening is you are adding "item2" (and another "item2") to the array @list. ie @list += ("item2", "item2")