Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function person(firstName, secondName, job, ...otherArguments) {
- console.log(firstName, secondName, job, otherArguments);
- console.log('---------------');
- }
- person("John");
- person("John", "Doe");
- person("John", "Doe", "dev");
- person("John", "Doe", "dev", 100, "Good guy", "Married");
Add Comment
Please, Sign In to add comment