2 ms·
Sure. Divide by two with any kind of predictability. for (let n = 0; n < 1; n += .01) { console.log(`n: ${n}, half: ${(n / 2).toFixed(2)}`); }
by recursive 8y ago
Sure. Divide by two with any kind of predictability.
for (let n = 0; n < 1; n += .01) {
console.log(`n: ${n}, half: ${(n / 2).toFixed(2)}`);
}