Compare commits

..

No commits in common. "master" and "6a0a672e3506fa4680a84f778a64e3c6976fc4c0" have entirely different histories.

1 changed files with 6 additions and 5 deletions

11
app.js
View File

@ -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');