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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"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.