Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

Commit b110717

Browse files
authored
Update tree.js
1 parent 8c6ee88 commit b110717

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tree.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Node {
1313
1414
A-->B
1515
C-->D
16-
E-->F
16+
E-->F-->M
1717
G-->H
1818
1919
==========================*/
@@ -24,11 +24,12 @@ C = new Node('C', 3)
2424
D = new Node('D', 4)
2525
E = new Node('E', 5)
2626
F = new Node('F', 6)
27+
M = new Node('M', 9)
2728

2829
G = new Node('G', 7)
2930
H = new Node('H', 8)
3031

31-
categories = [A,[B,C,[D],E,[F]],G,[H]]
32+
categories = [A,[B,C,[D],E,[F,[M]]],G,[H]]
3233

3334
function makeList(array) {
3435
// Create the list element:

0 commit comments

Comments
 (0)