Skip to content

Commit d81b7ca

Browse files
📚 docs(SkipList): Fix constructor signature.
1 parent 027edd0 commit d81b7ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SkipList.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import makeBottomLevel from './makeBottomLevel';
1313
/**
1414
* @param {Number} p Promotion probability in (0,1).
1515
* @param {Function} compare
16+
* @param {Node} head
1617
*/
1718
export default function SkipList(p, compare, head = new Node()) {
1819
this.head = head; // Sentinel node

0 commit comments

Comments
 (0)