摘要: 动态加载的js文件在source面板是看不到的。 例如,load加载html,html中有script,这个js是看不到的。 或者,用ajax加载的js,也是看不到的。 调试这种js有3种方法: 1. 打 debugger 2. 打 console.log,在console中点过去 3. 打 sou 阅读全文
posted @ 2021-07-16 16:27 全玉 阅读(487) 评论(0) 推荐(1) 编辑
摘要: function isNumber(obj) { return obj +obj } function isString(obj) { return obj obj+'' } function isBoolean(obj) { return obj !!obj } function isObject 阅读全文
posted @ 2021-07-16 14:43 全玉 阅读(32) 评论(0) 推荐(0) 编辑