Skip to content

Commit 12d0a1c

Browse files
committed
Minor correction
1 parent a7c1993 commit 12d0a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/utilities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class GraphVertex {
5757

5858
class UnweightedGraph {
5959
constructor(V = {}) {
60-
this.V = {};
60+
this.V = V;
6161
}
6262

6363
addUndirectedEdge = (u, v) => {

0 commit comments

Comments
 (0)