I have a few items as an array list.
const names = ['A', 'B', 'C'];
const eachItems = names.map((name) => `Hi ${name}`);
console.log(eachItems);
// I am trying to add unique value before each array item like
// Hi A, Hello B, Nope C
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I have a few items as an array list.
const names = ['A', 'B', 'C'];
const eachItems = names.map((name) => `Hi ${name}`);
console.log(eachItems);
// I am trying to add unique value before each array item like
// Hi A, Hello B, Nope C