AlexConnat / AlexConnat/PracticeJazzChords

Refactor the utility functions

Aperta
#5 1 commento 0 reazioni 1 assegnatario Rivendicata da @lewisyng Vedi su GitHub
good first issue
Lingua principale
JavaScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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']

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.