Skip to content

Instantly share code, notes, and snippets.

@AliN11
Last active July 17, 2019 03:56
Show Gist options
  • Save AliN11/1804c1bc7c7e8d6298caff3495a8689b to your computer and use it in GitHub Desktop.
Save AliN11/1804c1bc7c7e8d6298caff3495a8689b to your computer and use it in GitHub Desktop.
let name1 = "John";
let name2 = name1;
console.log(name1); // John
console.log(name2); // John
name1 = "Paolo";
console.log(name1); // Paolo
console.log(name2); // John
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment