Created
January 17, 2020 19:33
-
-
Save mrtampan/774408f22ac088529d1a644688262330 to your computer and use it in GitHub Desktop.
variable const 2
This file contains 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
<script> | |
const gebetan = { | |
"nama": "", | |
"status": "" | |
} | |
function siapaDia() { | |
gebetan.nama = "Nadia"; | |
gebetan.status = "pacar orang"; | |
alert(gebetan.nama + " " + gebetan.status); | |
} | |
siapaDia(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment