-
-
Save c0depanda/d1d2b26c1721f41ade5b789b7b850623 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 user(name, age) | |
{ | |
console.log(`My name is ${name}, I am ${age} years old.`); | |
} | |
let person = ['Brian Willer', 38]; | |
user(...person); //My name is Brian Willer, I am 38 years old. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment