summaryrefslogtreecommitdiffstats
path: root/main.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'main.mjs')
-rw-r--r--main.mjs7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.mjs b/main.mjs
index 97ba06f..18daab6 100644
--- a/main.mjs
+++ b/main.mjs
@@ -3,11 +3,12 @@ import { MajorScale, MinorScale } from './scale.mjs';
Fretboard(document.getElementById('fretboard'));
const cMaj = MajorScale('C');
-console.log('test major scale', cMaj.length);
+console.log('test major scale', cMaj.toString());
console.log(`test fifth ${cMaj.root}`, cMaj.fifth);
const cMin = MinorScale('C');
-console.log('test major scale', cMin.length);
+console.log('test minor scale', cMin.toString());
console.log(`test fifth ${cMin.root}`, cMin.fifth);
const bMaj = MajorScale('B');
-console.log('test major scale', bMaj.length);
+console.log('test major scale', bMaj.toString());
console.log(`test fifth ${bMaj.root}`, bMaj.fifth);
+window.bjc = bMaj;