Can you solve this simple JavaScript question? #coding #code #programming #javascript #web #js #css

preview_player
Показать описание
Can you solve this simple JavaScript question?
Рекомендации по теме
Комментарии
Автор

why do we use the square root of the number? I do it till num/2. Is there a reason for this? please do explain

ZafkeilGaming
Автор

const isPrime = n => n > 1 && => n % i);
console.log(isPrime(2));

Tomatexyz
join shbcf.ru