var newNode = new Node(key); 显示 Uncaught ReferenceError: key is not defined,这个是怎么回事
找到原因了
是this.insert = function(key)这里忘填key了