This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class Sieve { | |
constructor(endNumber) { | |
this.endNumber = endNumber; | |
this.startNumber = 2; | |
} | |
range(start, end) { | |
return Array.from({length: ((end + 1) - start)}, (v, k) => k + start); | |
} |
I hereby claim:
- I am queso on github.
- I am joshowens (https://keybase.io/joshowens) on keybase.
- I have a public key ASAo4Cee-Mp4Inrv8iiP_zos-UQrjhy46UBVb9UJMoTkGwo
To claim this, I am signing this object:
NewerOlder