摘要: 函数: var m2=function(){ console.log('2222'); } console.log(typeof(m2)); 输出结果:test.html:31 function jsp中的函数没有重载, 后者覆盖前者。 function m2(){ console.log('222 阅读全文
posted @ 2016-08-17 20:31 讲义大魔王 阅读(113) 评论(0) 推荐(0) 编辑
摘要: encodeURI()和 decodeURI()作用 编码与解码 encodeURIComponent()和 decodeURIComponent()作用区别是 后者可以处理一些特殊字符进行转义 var s1='美眉.jpg=?8888'; var s2=encodeURI(s1); console 阅读全文
posted @ 2016-08-17 15:27 讲义大魔王 阅读(148) 评论(0) 推荐(0) 编辑