Ad
Algorithms
Mathematics

i changed !(e<=1) to e>1 ه_ه
i mean $_$>1
its the same thing ok ?
stop being mad at stuped things like this
life isn't just mad life is cool and bool
witch can be true or false depends on
the use, u know what i mean ? u feel me?
u sence where im going ? no ? ok

bye <3

Code
Diff
  • function prime_checker($_$){
      return $_$>1 && [...Array(Math.ceil(Math.sqrt($_$))).keys()].slice(2).every(r=>$_$%r)}
    • function prime_checker(e){return!(e<=1)&&
    • [...Array(Math.ceil(Math.sqrt(e))).keys()].slice(2).every(r=>e%r)}
    • function prime_checker($_$){
    • return $_$>1 && [...Array(Math.ceil(Math.sqrt($_$))).keys()].slice(2).every(r=>$_$%r)}