didkoslawow

Untitled

Sep 11th, 2022
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function concatenateData(input) {
  2. let firstName = input[0];
  3. let lastName = input[1];
  4. let age = Number(input[2]);
  5. let town = input[3];
  6. console.log(`You are ${firstName} ${lastName}, a ${age}-years old person from ${town}.`);
  7. }
Add Comment
Please, Sign In to add comment