
javascript
humanibm
专注java30年
展开
-
对象克隆
function clone(myObj) { if (typeof(myObj) != ‘object’) return myObj; if (myObj == null) return myObj; if (Object.prototype.toString.call(myObj) == “[object Array]“) { var myNewObj原创 2013-07-18 22:38:54 · 499 阅读 · 0 评论 -
chrome developer tool 调试技巧
这篇文章是根据目前 chrome 稳定版(19.0.1084.52 m)写的, 因为 google 也在不断完善chrome developer tool, 所以 chrome 版本不同可能稍有差别. 一些快捷键也是 windows 上的, mac 下的应该大同小异. 常规的断点相关的 breakpoint/conditional-breakpoint/call-stack/watch-ex原创 2013-07-18 22:47:17 · 848 阅读 · 0 评论