Answers for "array elements double next to each other"

0

array elements double next to each other

let drinks: string[] = ['Gin', 'Whiskey', 'Wine', 'Beer'];
let drinks2: string[] = drinks.map((i) => i + i);
console.log(drinks2);
Posted by: Guest on December-18-2020

Code answers related to "array elements double next to each other"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language