Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
gururaj1512 committed Nov 14, 2024
1 parent 2dcd971 commit 46c3d20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function bernoullif( n ) {
if ( isnanf( n ) || !isNonNegativeInteger( n ) ) {
return NaN;
}
if ( n == 1 ) {
if ( n === 1 ) {
return 0.5;
}
if ( isOdd( n ) ) {
Expand Down

0 comments on commit 46c3d20

Please sign in to comment.