JavaScript arrow functions

    const n = [2, 4, 6, 8, 10];
    const r = n.map(item => item * 2);
    
    console.log(r);
    //Output: [4, 8, 12, 16, 20]