From b85bf49a35a7d89e9e1614a26f91ce2f28df42b3 Mon Sep 17 00:00:00 2001 From: Utsav Meena <95152531+utsav0@users.noreply.github.com> Date: Sun, 27 Mar 2022 22:43:21 +0530 Subject: [PATCH] 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 --- Maths/LeapYear.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maths/LeapYear.js b/Maths/LeapYear.js index 355d7fc96..bddcea7af 100644 --- a/Maths/LeapYear.js +++ b/Maths/LeapYear.js @@ -7,7 +7,7 @@ * The logic behind the leap year is- * 1. If the year is divisible by 400 then it is a leap year. * 2. If it is not divisible by 400 but divisible by 100 then it is not a leap year. - * 3. If the year is not divisible by 400 but not divisible by 100 and divisible by 4 then a leap year. + * 3. If the year is not divisible by both 400 and 100 but divisible by 4 then a leap year. * 4. Other cases except the describing ones are not a leap year. * * @param {number} year