Create a function mapArray that doubles each number in an array using map() and logs the result.

Output: