会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
。思索
博客园
首页
新随笔
联系
订阅
管理
2022年3月17日
JavaScript——一个简单的队列Demo
摘要: 前言 一个简单的队列示例 内容 class Queue { constructor() { this.items = {} this.headIndex = 0 this.tailIndex = 0 } enqueue(item) { this.items[this.tailIndex] = ite
阅读全文
posted @ 2022-03-17 16:55 。思索
阅读(46)
评论(0)
推荐(0)
编辑
公告