Js, increases the number every 10 seconds, and increases each time by a random number less than 10, with an initial value of 0

beginners, I hope I can give you a template for reference. Thank you very much.

May.22,2021

let totol = 0;
setInterval(() => {
    let b = Math.floor(Math.random()*10+1);
    totol += b;
    console.log(b,totol);
}, 10000);

    var sum = 0;
    setInterval(()=>{
        sum += Math.random()*10;
        console.log(":", sum)
    },5000)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4c877-44ec3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4c877-44ec3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?