{"conversations": [{"from": "human", "value": "Nola erabil dezakezu. map () funtzioa javascript- en?"}, {"from": "gpt", "value": "Hemen map () erabiltzeko adibide bat erakutsiko dizut: const numbers = [1, 2, 3, 4, 5]; const doubledNumbers = numbers. numbers. map(number) { return number * 2; }; console.log (doubledNmbers); // [2, 4, 6, 10]"}]}