removed options from childCount in trie

This commit is contained in:
Dhroov7
2019-09-18 23:32:38 +05:30
parent fb36e99af5
commit 8aa310f57f

View File

@@ -16,7 +16,7 @@ function Node (options) {
this.children = {};
// number of folders in the sub-trie of this node
this.childCount = options ? options.childCount : 0;
this.childCount = 0;
this.requests = []; // request will always be an array of objects