mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
Complying with JavaScript Standard Style (npx standard --fix).
This commit is contained in:
@@ -229,7 +229,7 @@ const AVLTree = (function () {
|
||||
return true
|
||||
}
|
||||
return _avl
|
||||
}());
|
||||
}())
|
||||
|
||||
/**
|
||||
* A Code for Testing the AVLTree
|
||||
|
||||
@@ -116,6 +116,6 @@ Trie.prototype.findOccurences = function (word) {
|
||||
// No such word exists
|
||||
if (node === null) return 0
|
||||
return node.count
|
||||
};
|
||||
}
|
||||
|
||||
export { Trie }
|
||||
|
||||
Reference in New Issue
Block a user