Skip to content

Commit b85bf49

Browse files
authored
merge: Fixed a wrong sentence structure (#952)
* Fixed a typo where the commenting was wrong * optimised code * fixed a sentence structure * changed the sentence structure * updated pull request * Update SetBit.js
1 parent 81c771b commit b85bf49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/LeapYear.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* The logic behind the leap year is-
88
* 1. If the year is divisible by 400 then it is a leap year.
99
* 2. If it is not divisible by 400 but divisible by 100 then it is not a leap year.
10-
* 3. If the year is not divisible by 400 but not divisible by 100 and divisible by 4 then a leap year.
10+
* 3. If the year is not divisible by both 400 and 100 but divisible by 4 then a leap year.
1111
* 4. Other cases except the describing ones are not a leap year.
1212
*
1313
* @param {number} year

0 commit comments

Comments
 (0)