Loops in Observable

ahh okay. Thank you so much!

is there a way to keep the for loop dynamic?
I’m trying to regularly update the dase array with new elements as i change the variable (temp). The temp variable is base on a slider.
{
var x = 0;
for (let i = 0; i <=16; i++) {
dase[i] = calculate(temp,x);
x+= .05;
}
}