2 ms·
Copies the value of the reference if pointing to objects, or copies the value directly if primitive. There is no "pass by reference" in javascript, following t
by adam_arthur 4y ago
Copies the value of the reference if pointing to objects, or copies the value directly if primitive.
There is no "pass by reference" in javascript, following the traditional definition, just the same as Java