(data, next)
| 1 | var SLL = require('./helper.js'); |
| 2 | |
| 3 | function Node(data, next) { |
| 4 | this.data = data, |
| 5 | this.next = next; |
| 6 | } |
| 7 | |
| 8 | SLL.prototype.addNode = function(data, next) { |
| 9 | var node = new Node(data, next), |
nothing calls this directly
no outgoing calls
no test coverage detected