DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
multiply arrays javascript
var sum = 0; for(var i=0; i< arr1.length; i++) { sum += arr1[i]*arr2[i]; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#multiply
#arrays
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit