JavaScript’s arrays can hold heterogeneous types, change size on the fly, and readily insert or remove elements. Traditional methods like slice, splice, and push/pop do this by operating on the array ...
So we were going over how to pass arrays to functions in my C++ class the other day, and the teacher says "By default, C++ passes arrays by reference." I go "wtf, no it doesn't." After a few minutes ...