2015102201
2015-10-22 10:52
134 查看
var executerQueue = [] executerQueue.exec = function() { if (executerQueue.length) { executerQueue.shift().exec() } } function F1() { this.exec = function() { console.log('F1') } } function F2() { this.exec = function() { console.log('F2') } } executerQueue.push(new F1()) executerQueue.push(new F2()) executerQueue.exec() executerQueue.exec()
var gestures = { a: 'a', b: 'b' } Object.keys(gestures).length
var tid window.addEventListener('resize', function() { clearTimeout(tid) tid = setTimeout(function() { console.log(1) }, 300) }, false);
相关文章推荐
- 算出两个文件的相对路径
- Hibernate原生SQL查询
- mysql优化 explain index
- Wing IDE5.1.8-1体验(一)
- Java并发编程详解:Executor框架
- 单例的设计模式()
- 二分图
- 我是如何搭起Android app网络层的——介绍篇
- AppCan邹优镇:移动改变生产,构建企业核心竞争力
- 底部划出菜单控件总结
- aliyun的CentOS yum源
- 【NOIP2009】最优贸易 最短路
- 窗体的扩展样式GWL_EXSTYLE:
- 《数据分析的统计基础》学习笔记(一) 数据分析概述
- jxl导入/导出excel
- 移动页面自适应手机屏幕宽度
- Sqlserver_时间用法
- 序列化和反序列化的概念
- hadoop相关指令
- CDR笔记