Teo_Yanchev

Concatenate Data - JS

Jul 4th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function concatenate(input, input2, input3, input4) {
  2. let name = input;
  3. let lastName = input2;
  4. let age = input3;
  5. let town = input4;
  6. console.log(`You are ${name} ${lastName}, a ${age}-years old person from ${town}.
  7. `);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment