摘要: 1. 监听触发事件: js class EventEmeitter { constructor(){ this._events = this._events || new Map(); this._maxLength = this._maxLength || 10; } } EventEmeitte 阅读全文
posted @ 2020-05-05 17:04 小猪冒泡 阅读(301) 评论(0) 推荐(0) 编辑