Answers for "multiply 2 arrays javascript"

2

multiply arrays javascript

var sum = 0;
for(var i=0; i< arr1.length; i++) {
    sum += arr1[i]*arr2[i];
}
Posted by: Guest on August-21-2021

Code answers related to "multiply 2 arrays javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language