AlexConnat / AlexConnat/PracticeJazzChords

Refactor the utility functions

Offen
#5 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @lewisyng Auf GitHub ansehen
good first issue
Vorherrschende Sprache
JavaScript
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.