// Set the value of myNum to 20. var myNum = 20; // Create a new variable, anotherNum, and copy the contents of myNum to it. // Both anotherNum and myNum are now 20. var anotherNum = myNum; // Change the value of myNum to 1000. // Note that the contents of anotherNum haven't changed. myNum = 1000; // Display the contents of both variables. alert(myNum); alert(anotherNum);