摘要: ``` function Stack(){ var items = []; //进栈 this.push = function(element){ items.push(element); } //出栈 this.pop = function(){ return items.pop(); } //栈的长度 this.size = function(){ return ... 阅读全文
posted @ 2018-01-04 13:47 IT-caijw 阅读(152) 评论(0) 推荐(0) 编辑