https://github.com/bell-kevin/training-js-8-conditional-statement--switch
Training JS #8: Conditional statement--switch. function howManydays(month){ var days; switch (month){ case 2: days = 28; break; case 4: case 6: case 9: case 11: days= 30; break; default: days= 31; } return days; }
https://github.com/bell-kevin/training-js-8-conditional-statement--switch
codewars-kata-solution
Last synced: over 1 year ago
JSON representation
Training JS #8: Conditional statement--switch. function howManydays(month){ var days; switch (month){ case 2: days = 28; break; case 4: case 6: case 9: case 11: days= 30; break; default: days= 31; } return days; }
- Host: GitHub
- URL: https://github.com/bell-kevin/training-js-8-conditional-statement--switch
- Owner: bell-kevin
- License: gpl-3.0
- Created: 2022-06-29T02:12:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T22:35:01.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T16:48:28.310Z (over 1 year ago)
- Topics: codewars-kata-solution
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0