Javascript – How would I Increment a number in a way where it shows every step instead of skipping numbers?
So for example in my code: numbersGoingUp() { const atoms = this.user.resources[0] const molecules = this.user.resources[1] const atom_gens = this.user.generators[0] const molecule_gens = this.user.generators[1] if (!this.interval) { this.interval = setInterval(() => { if (atom_gens.active) { if (atoms.amount >= atoms.max) {…