Is there a way to divide a given value by 10 and store the resulting values in an array? How can I then assign these values back to 'array1' within a for loop?
var value = 300000;
var array1= new Array(11);
var yaxispoints = value / 10;
for(var i = 0; i < array1.length; i++){
console.log(i * yaxispoints );
}