Skip to content

Commit

Permalink
fix: format MobiusFunction.js with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gaye-lamine committed Oct 16, 2024
1 parent f7d376d commit 2b739bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Maths/MobiusFunction.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ export const mobiusFunction = (number) => {
return primeFactorsArray.length !== new Set(primeFactorsArray).size
? 0
: primeFactorsArray.length % 2 === 0
? 1
: -1
? 1
: -1
}

0 comments on commit 2b739bf

Please sign in to comment.