You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings: Start with the array you used in Exercise 11, but instead of just printing each person’s name, print a message to them. The text of each message should be the same, but each message should be personalized with the person’s name.
*/
let friends: string[] = ["Rizwan", "Ayaz", "Ali", "Dost Ali"];
console.log(`Welcome ${friends[0]}\n`);
console.log(`Hi Bro ${friends[1]} how are you?\n`);