pluralsight-js-functions/app.js

6 lines
176 B
JavaScript
Raw Normal View History

2021-05-13 15:14:05 +10:00
function display(char1, char2, char3, char4, ...others) {
console.log(others);
console.log(char1, char2, char3, char4);
2021-05-12 23:05:26 +10:00
}
2021-05-13 15:14:05 +10:00
let letters = 'abcdefgh';
display(...letters);