function calculeSommeNFois(size:number) {
for (let i:number = 1; i <= size; i++) {
let somme = 0
for (let j:number = 1; j <= 10000; j++) {
somme += j
}
console.log(somme)
}
}
let n:number = 5; // Don't change this line
// Execute your function n times with a loop
calculeSommeNFois(n)
To embed this project on your website, copy the following code and paste it into your website's HTML: