Write a method to test if a given number is a prime number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a method to test if a given number is a prime number

By using Java Script

29th Mar 2017, 5:11 PM
Amit
Amit - avatar
2 Answers
29th Mar 2017, 6:10 PM
Tashi N
Tashi N - avatar
+ 3
https://www.thepolyglotdeveloper.com/2015/04/determine-if-a-number-is-prime-using-javascript/ i just googled JavaScript Check Prime
29th Mar 2017, 5:18 PM
Mario L.
Mario L. - avatar