+ 3
The output is 30. The multiply function returns an array where each element is squared: [1,4,9,16]. The add function returns the sum of all array elements: 1+4+9+16 = 30.
18th Aug 2019, 7:40 PM
Michael
Michael - avatar
18th Aug 2019, 7:48 PM
Michael
Michael - avatar