数据结构-js实现-栈<pre<codeclassStack{constructor(){this.items;}push(item){this.items.push(item);}pop(){returnthis.items.po