https://github.com/bell-kevin/training-js-9-loop-statement---while-and-do..while
If you want your code to do a lot of similar work, a loop statement is a good choice. For example, if we need to calculate the cumulative value from 1 to 10, we can write code like this:
https://github.com/bell-kevin/training-js-9-loop-statement---while-and-do..while
codewars-kata-solution
Last synced: about 1 year ago
JSON representation
If you want your code to do a lot of similar work, a loop statement is a good choice. For example, if we need to calculate the cumulative value from 1 to 10, we can write code like this:
- Host: GitHub
- URL: https://github.com/bell-kevin/training-js-9-loop-statement---while-and-do..while
- Owner: bell-kevin
- License: gpl-3.0
- Created: 2022-06-29T02:32:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T22:35:08.000Z (almost 4 years ago)
- Last Synced: 2025-03-17T07:28:10.945Z (over 1 year ago)
- Topics: codewars-kata-solution
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0