This website requires JavaScript.
Explore
Help
Sign In
tod
/
odin-default-js-exercises
Watch
1
Star
0
Fork
You've already forked odin-default-js-exercises
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a95568cc3d
odin-default-js-exercises
/
06_leapYears
/
leapYears.js
7 lines
95 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Transform 'let' in 'const' where needs be
2018-08-07 10:23:28 +00:00
const
leapYears
=
function
(
)
{
Revert "remove class based exercises" This reverts commit 290e7f1da41641c3d028d0ef19669be35144a33a.
2017-11-24 20:23:16 +00:00
Added jest Removed generator-exercises folder as it breaks jest-codemods run jest-codemods on .spec.js files, move generator-exercises back in Change references from Jasmine to Jest in main readme Update README with Jest specific language. Update some spec files with new syntax update tests, multiple exercises .gitignore: Added package-lock.json, package.json that were used when I ran code-blocks over the tests. Standardised function declaration calls across exercises fix typo in caesar.spec.js Ignoring package-lock.json, package.json Backtrack on .gitignore modification, add instructions to readme move files from testing repo to this repo Typo fixes, remove duplicate exercise folder Remove solution from non-solution branch Minor grammatical fixes added trailing semicolon to all function and module exports Fix words caught by search/replace action. remove doubled semicolon. Correct words caught by search/replace action. Add missing semicolon. Add .DS_Store to .gitignore multiple files: Added a blank line at the end of each file Ignore generator-exercise when linting exercise files Update exercise number of each exercise Update exercise number
2021-03-03 02:13:24 +00:00
}
;
add leapYears
2017-08-25 18:47:05 +00:00
add clarifiying comment about not removing code
2021-09-11 22:18:19 +00:00
// Do not edit below this line
Added jest Removed generator-exercises folder as it breaks jest-codemods run jest-codemods on .spec.js files, move generator-exercises back in Change references from Jasmine to Jest in main readme Update README with Jest specific language. Update some spec files with new syntax update tests, multiple exercises .gitignore: Added package-lock.json, package.json that were used when I ran code-blocks over the tests. Standardised function declaration calls across exercises fix typo in caesar.spec.js Ignoring package-lock.json, package.json Backtrack on .gitignore modification, add instructions to readme move files from testing repo to this repo Typo fixes, remove duplicate exercise folder Remove solution from non-solution branch Minor grammatical fixes added trailing semicolon to all function and module exports Fix words caught by search/replace action. remove doubled semicolon. Correct words caught by search/replace action. Add missing semicolon. Add .DS_Store to .gitignore multiple files: Added a blank line at the end of each file Ignore generator-exercise when linting exercise files Update exercise number of each exercise Update exercise number
2021-03-03 02:13:24 +00:00
module
.
exports
=
leapYears
;