Compare commits
No commits in common. "master" and "6a0a672e3506fa4680a84f778a64e3c6976fc4c0" have entirely different histories.
master
...
6a0a672e35
11
app.js
11
app.js
|
@ -1,6 +1,7 @@
|
|||
function display(char1, char2, char3, char4, ...others) {
|
||||
console.log(others);
|
||||
console.log(char1, char2, char3, char4);
|
||||
function introduction(name, profession) {
|
||||
console.log('My name is ' + name + ' and I am a ' + profession + '.');
|
||||
console.log(this);
|
||||
}
|
||||
let letters = 'abcdefgh';
|
||||
display(...letters);
|
||||
introduction('John', 'student');
|
||||
introduction.apply(undefined, ['Mary', 'Lawyer']);
|
||||
introduction.call(undefined, 'James', 'artiest');
|
Loading…
Reference in New Issue