- 2

No sence

the break makes no sence what so ever why would u even use it for a game

21st Jul 2018, 4:22 PM
Tome Some
Tome Some - avatar
1 Answer
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
19th Aug 2018, 7:54 PM
Elsa Lubek