Home >Web Front-end >JS Tutorial >Mutual reference of variables in JavaScript_javascript skills
The test is as follows:
About the impact on node object operations:
Since the function is passed by value, when inserting a node, the node itself is referenced, not one of its clones, so the node is transferred
For example: