every two digits is doubled in javascript array code example
Example: 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);
let drinks: string[] = ['Gin', 'Whiskey', 'Wine', 'Beer'];
let drinks2: string[] = drinks.map((i) => i + i);
console.log(drinks2);