Counting from 1-100 with for loop and if statement and will only display prime numbers in JavaScript. Please I’m just starting don’t use function or array just for loop and if statement
I tried and it didn’t give me prime numbers
New contributor
Ade-Williams Iyinoluwa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.