AlexConnat / AlexConnat/PracticeJazzChords
Refactor the utility functions
Open
good first issue
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
A lot of functions in this code have a very unique purpose, and could be written in a separate `utils.js` file. They could even be tested individually by unit tests. Bigger functions could be split in smaller functional modules.
For instance, a function that takes as an input a chord, and a list of chord tones and extensions (e.g: 3rd, 7th and 9th), and return what these chord tones and extensions are, for this particular chord.
**Example:** With a C7b9 chord, the function would return ['E', 'Bb', 'Db']
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.