Fixing non compliant files (Ciphers, Conversions and Data Structures)

This commit is contained in:
Juliano Nunes
2020-05-03 21:26:52 -03:00
parent 14bab1b931
commit 2e0bd65b0c
8 changed files with 293 additions and 264 deletions

View File

@@ -21,7 +21,7 @@ var Node = (function () {
// Search the tree for a value
Node.prototype.search = function (val) {
if (this.value == val) {
if (this.value === val) {
return this
} else if (val < this.value && this.left != null) {
return this.left.search(val)