02 2017 档案

摘要:var TASK_SYNC = 0; var TASK_ASYNC = 1; function Animation(){ this.taskQueue = []; } Animation.prototype._add = function(task,type){ this.taskQueue.push({ taskFn: task, type: type }) ... 阅读全文
posted @ 2017-02-16 16:29 sunbey80 阅读(246) 评论(0) 推荐(0)
摘要:OOP: 1.1特性:继承、封装、多态、抽象 1.2获取对象原型 Object.getPrototypeOf(obj) 阅读全文
posted @ 2017-02-04 17:00 sunbey80 阅读(172) 评论(0) 推荐(0)