- 2
No sence
the break makes no sence what so ever why would u even use it for a game
1 Odpowiedź
0
Hi ! I made an easy code in javascript to see if a number is a prime number or not (there are probably better codes for this)..
If you erase the « break » it is not gonna work, you can try it ! It’s going to tell you that 54 is a prime number ! So break makes sens...
https://code.sololearn.com/WYIDBhTDSGAk/?ref=app