随笔分类 -  js

摘要:https://ts.xcatliu.com/ 阅读全文
posted @ 2019-04-23 16:19 php、凯 阅读(187) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://segmentfault.com/a/1190000010693229?utm_source=tag-newest 阅读全文
posted @ 2019-04-10 15:40 php、凯 阅读(926) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://www.angular.cn/guide/quickstart#step-1-install-the-angular-cli 阅读全文
posted @ 2019-04-04 09:39 php、凯 阅读(140) 评论(0) 推荐(0) 编辑
摘要:参考地址:https://www.jianshu.com/p/55e503fd8307 阅读全文
posted @ 2019-04-03 14:57 php、凯 阅读(149) 评论(0) 推荐(0) 编辑
摘要:匹配的规则不能用 "/<script.*<\/script>/i",因为它不能匹配到换行符,那么多行js就匹配不掉了。 要用 "/<script[\s\S]*?<\/script>/i"。里面的?表示尽可能少重复,也就是匹配最近的一个</script>。 源码范例: .代码如下: <?php hea 阅读全文
posted @ 2016-11-24 12:46 php、凯 阅读(3924) 评论(0) 推荐(0) 编辑
摘要:NaN:保留字(表明数据类型不是数字) undefined:对象属性或方法不存在,或声明了变量但从未赋值。即当你使用了对象未定的属性或者未定义的方法时或当你声明一个变量,但你确从未对其进行赋值,便对其进行操作(当然赋值除外),会有"undefined"提示null 值指出一个变量中没有包含有效的数据 阅读全文
posted @ 2016-11-23 12:50 php、凯 阅读(14905) 评论(1) 推荐(0) 编辑