Created
July 10, 2020 11:42
-
-
Save dimasmiftah/44945062a460ffca1581bd6ac1f387fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CONTOH MUTABLE - ARRAY | |
let kombinasi1 = ['setter', 'libero', 'spiker'] | |
let kombinasi2 = kombinasi1 | |
kombinasi2.push('blocker') | |
console.log(kombinasi1) // akan menampilkan ["setter", "libero", "spiker", "blocker"] | |
console.log(kombinasi2) // akan menampilkan ["setter", "libero", "spiker", "blocker"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment