Skip to content

Commit 95393aa

Browse files
feat(curriculum): Added an additional test for year 2000 (freeCodeCamp#57941)
1 parent 56fec3a commit 95393aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

curriculum/challenges/english/25-front-end-development/lab-leap-year-calculator/66c06fad3475cd92421b9ac2.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ With `2024` as the value of the `year` variable, the `result` should be `2024 is
5858
assert.strictEqual(isLeapYear(2024), '2024 is a leap year.');
5959
```
6060

61+
With `2000` as the value of the `year` variable, the `result` should be `2000 is a leap year.`.
62+
63+
```js
64+
assert.strictEqual(isLeapYear(2000), '2000 is a leap year.');
65+
```
66+
6167
With `1900` as the value of the `year` variable, the `result` should be `1900 is not a leap year.`.
6268

6369
```js

0 commit comments

Comments
 (0)