Skip to content

Instantly share code, notes, and snippets.

@dimasmiftah
Created June 7, 2021 16:58
Show Gist options
  • Save dimasmiftah/9d3286605ea8b159e0a3885b0557a55f to your computer and use it in GitHub Desktop.
Save dimasmiftah/9d3286605ea8b159e0a3885b0557a55f to your computer and use it in GitHub Desktop.
let binatang = {kucing: '🐱', tikus: '🐭'}
let klonBinatang = Object.assign({}, binatang)
console.log(klonBinatang)
// {kucing: '🐱', tikus: '🐭'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment