Created
February 10, 2020 10:45
-
-
Save venkatsgithub1/1a91905aad21b026600e5f6e713a76ae to your computer and use it in GitHub Desktop.
Sample code to show dereferencing
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
const person = { | |
first: 'John', | |
last: 'Doe', | |
country: 'India', | |
city: 'Bengaluru' | |
}; | |
func1 = (data) => { | |
console.log({ data }); | |
} | |
func1(person); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment