fix sieve

This commit is contained in:
The Ghost of FOSS' Past 2024-12-06 20:36:20 -06:00
parent 8b18d5d8bd
commit 6626f8b124

View file

@ -34,6 +34,8 @@ class JSPlusPlus {
}
sieve(siveTo) {
const helpers = new JSPlusPlus.General.Helpers
const isPrime = helpers.isPrime
let primes = []
siveTo = Number(siveTo)