AlexConnat / AlexConnat/PracticeJazzChords

Refactor the utility functions

未关闭
#5 1 条评论 0 个 reaction 已指派 1 人 已被 @lewisyng 认领 在 GitHub 查看
good first issue
主要语言
JavaScript
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。