Skip to content

Commit

Permalink
Fixed names
Browse files Browse the repository at this point in the history
  • Loading branch information
SublimeIbanez committed Dec 20, 2023
1 parent 038a565 commit 34b1f79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ const notOddCS = async function(num) {
}
}

function defNotNotOdd(num) {
function defNotNotEven(num) {
//Cosine of the number times Math.PI == 1 is even
return Math.cos(num * Math.PI) === 1;
}

function defNotNotEven(num) {
function defNotNotOdd(num) {
//what better way to determine than to determine the opposite of the determined
return !defNotNotOdd(num);
return !defNotNotEven(num);
}

//Just a little randomness involved with unnecessary sequences to determine the status
Expand All @@ -28,7 +28,7 @@ function doesNotNotOddNotOddlyOdd() {
return fib(n - 1) + fib(n - 2);
}

return defNotNotOdd(fib(rand));
return defNotNotEven(fib(rand));
}

export const notNotOdd = num => !not_odd(num);
Expand Down

0 comments on commit 34b1f79

Please sign in to comment.