- 博客(2)
- 收藏
- 关注
转载 JS模仿C#格式化字符串
/** * 格式化字符串 * @param {字符串} args * @example { * var str = "a{0}b{1}c{2}"; * str.format("d","...
2017-12-25 17:32:00 89
转载 JavaScript 事件机制
自定义事件代码(作为全局对象) var EventTarget = function(){ this.handlers={}; this.constructor=eventTarget; this.addHandler=function(type,handler){...
2017-08-25 18:42:00 55
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人