📅  最后修改于: 2022-03-11 15:03:35.933000             🧑  作者: Mango
class Node {
constructor(element){
//the element holds the data of a node
this.element = element;
//pointer to the next node which is initialized to null
this.next = null;
}
}