Compare commits

..

No commits in common. "2a5ef56d42e2b2119e386f47e08195f1a75acbfb" and "368314fcdd72cbd15706fdcb8563fe9a0fa44dcd" have entirely different histories.

1 changed files with 4 additions and 5 deletions

9
app.js
View File

@ -1,6 +1,5 @@
function display(char1, char2, char3, char4, ...others) {
console.log(others);
console.log(char1, char2, char3, char4);
function sayHi(message, name = 'World') {
console.log(message + " " + name);
}
let letters = 'abcdefgh';
display(...letters);
sayHi("Hello");
sayHi("Hi", 'John');