, 08 2015 . 14:00
+
javascript. :
var x = y; // This will not create a copy of y.
The object x is not a copy of y. It is y. Both x and y points to the same object.
Any changes to y will also change x, because x and y are the same object.
: , .
:
JavaScript
JS