Skip to content

Instantly share code, notes, and snippets.

@dimasmiftah
Last active July 10, 2020 09:13
Show Gist options
  • Save dimasmiftah/d8afa5df6b21483f91c6edaead783c49 to your computer and use it in GitHub Desktop.
Save dimasmiftah/d8afa5df6b21483f91c6edaead783c49 to your computer and use it in GitHub Desktop.
// CONTOH IMMUTABLE - STRING
let nama1 = 'hinata'
let nama2 = nama1 + ' shoyo'
console.log(nama1) // akan menampilkan 'hinata'
console.log(nama2) // akan menampilkan 'hinata shoyo'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment