Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cec3b04

Browse files
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

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /