Question: Multiply each element in origArray with the corresponding value in offsetArray. Store each value in a new array named destinationArray. var origArray = [ 40,
Multiply each element in origArray with the corresponding value in offsetArray. Store each value in a new array named destinationArray.
var origArray = [ 40, 50, 60, 70 ]; // Tests will use different arrays var offsetArray = [ 2, 5, 8, 4 ]; // Tests will use different arrays var destinationArray = [];
/* Your solution goes here */
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
