Skip to content

Commit fe252c2

Browse files
📚 docs(kahn1962): Document parameters.
1 parent 6e68d65 commit fe252c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kahn1962.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*
44
* See https://en.wikipedia.org/wiki/Topological_sorting#CITEREFKahn1962
55
*
6-
* @param {any} queue
7-
* @param {any} graph
6+
* @param {any} queue - Free vertices.
7+
* @param {any} graph - Edges of the graph.
88
* @returns {Iterable<any>} The vertices in topological order.
99
*/
1010
export default function* kahn1962(queue, graph) {

0 commit comments

Comments
 (0)