function loop(P,T) {
    const NewP = P+1;
    if (P < T) {
        console.log("カウント:"+NewP);
        const o = loop(NewP,T)
    }
    return 0;
}

loop(0,10)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: