Skip to content

Commit cec3b04

Browse files
committed
chore(graph): fix typo
1 parent 1812da7 commit cec3b04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data-structures/graphs/graph.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class Graph {
252252
}
253253
}
254254

255-
Graph.UNDIRECTED = Symbol('directed graph'); // two-ways edges
256-
Graph.DIRECTED = Symbol('undirected graph'); // one-way edges
255+
Graph.UNDIRECTED = Symbol('undirected graph'); // two-way edges
256+
Graph.DIRECTED = Symbol('directed graph'); // one-way edges
257257

258258
module.exports = Graph;

0 commit comments

Comments
 (0)