(value)
| 1 | var Queue = require('./Queue'); |
| 2 | |
| 3 | var BST = function(value) { |
| 4 | this.value = value; |
| 5 | this.left = null; |
| 6 | this.right = null; |
| 7 | }; |
| 8 | |
| 9 | BST.prototype.insert = function(value) { |
| 10 | if (value < this.value) { |
nothing calls this directly
no outgoing calls
no test coverage detected