"Understand that objects, arrays, and functions are copied and passed by reference."
If something is passed by reference it is NOT copied. That's the whole point of passing by reference. May want to change the wording there.
That's the point. Arrays & objects are not copied when they're assigned, either using = or passed into a function. Only the reference is copied/passed in.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.