Multiply them

Report a typo

In the code below there is a function named multiplyThem that will be given an array of integers.

Using the map() function multiply each of these numbers by itself, for example, if the number is 3, you should multiply it by 3.

In the end use console.log() to print the array.

Sample Input 1:

3 5 7 9 11

Sample Output 1:

[ 9, 25, 49, 81, 121 ]
Write a program in JavaScript
function multiplyThem(numbers) {
console.log(...);
}
___

Create a free account to access the full topic