-
-
Save shahab570/40f2768c686bac69ffd565924577f90f to your computer and use it in GitHub Desktop.
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
function information({ name, age, country, state }) { | |
console.log(name, age, country, state); | |
} | |
var person = { | |
name: "John Doe", | |
age: 30, | |
country: "USA", | |
state: "New York", | |
}; | |
information(person); //John Doe 30 USA New York |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment