Compare commits
2 Commits
368314fcdd
...
2a5ef56d42
Author | SHA1 | Date |
---|---|---|
jason.zhu | 2a5ef56d42 | |
jason.zhu | d822050bdc |
9
app.js
9
app.js
|
@ -1,5 +1,6 @@
|
|||
function sayHi(message, name = 'World') {
|
||||
console.log(message + " " + name);
|
||||
function display(char1, char2, char3, char4, ...others) {
|
||||
console.log(others);
|
||||
console.log(char1, char2, char3, char4);
|
||||
}
|
||||
sayHi("Hello");
|
||||
sayHi("Hi", 'John');
|
||||
let letters = 'abcdefgh';
|
||||
display(...letters);
|
Loading…
Reference in New Issue