I have two javascript arrays that I'd like to iterate over simultaneously with a for/in loop. I know how to do this with a normal for loop for (i = 0; i > number; i++)
. If you're not familiar with python's zip() command, I have an example below.
a = [1,2]
b = [3,5]
for x,y in zip(a,b):
print x+y
>>> 4
>>> 7