I've got a .json file that looks like this:
[
[
1513814400000,
0.8433
]
]
Now, my question is this: I need to modify every 2nd value in this file, i.e:
0.8433 -> 8.433
I already wrote a javascript that loads the file using jQuery, however I'm not sure how I can go through the file and edit these values. The manipulation is always the same, for example:
new value = old value * 10
Any tips on how I could do this?
array[0][0]*10??forloop,Array#forEach,Array#mapetc