Skip to content

Instantly share code, notes, and snippets.

@mrtampan
Created January 17, 2020 19:33
Show Gist options
  • Save mrtampan/774408f22ac088529d1a644688262330 to your computer and use it in GitHub Desktop.
Save mrtampan/774408f22ac088529d1a644688262330 to your computer and use it in GitHub Desktop.
variable const 2
<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