Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,4 @@
var container = {myString: "Hello"};
var containerCopy = container; // Now both identifiers refer to the same object
containerCopy.myString = "Goodbye"; // container.myString will also return "Goodbye"

View file

@ -0,0 +1,4 @@
var a = "Hello";
var b = a; // Same as saying window.b = window.a
b = "Goodbye" // b contains a copy of a's value and a will still return "Hello"