This website works better with JavaScript
Halaman utama
Jelajahi
Bantuan
Masuk
eugeniy.ho
/
javascript_practice
Liatin
1
Bintangi
0
Fork
0
Berkas
Masalah
12
Tarik Permintaan
0
Wiki
Pohon:
952b1faad4
Ranting
Tag
master
javascript_p...
/
hw04
/
8_infinite_probability.js
8_infinite_probability.js
105 B
Riwayat
Mentahan
1
2
3
4
5
6
7
8
9
10
let index = 1;
while (true) {
if(Math.random() > 0.9) {
break;
}
index++;
}
alert(index);