❮PreviousJavaScript ArrayReferenceNext❯ Examples Return a new array with the square root of all element values: constnumbers = [4,9,16,25]; constnewArr = numbers.map(Math.sqrt) Try it Yourself » Multiply all the values in an array with 10: ...