for loop to check if number is prime or not Javascript / JS

前端 未结 0 2022
北恋
北恋 2021-01-01 09:18

I wanted to create a function to check if the number is prime or not. I found a solution for this challenge and I passed it. But I can\'t quite understand why num 2 returns

相关标签:
回答
  • 消灭零回复
提交回复
热议问题