12 2022 档案

摘要:如: 验证字符串'php is good'中是否同时存在'php' 和 'good' 正则则这样写: /^(?=.*php)(?=.*good).*$/ 阅读全文
posted @ 2022-12-21 18:30 明明一颗大白菜 阅读(918) 评论(0) 推荐(0) 编辑
摘要:var timer function run(){ //clearInterval要放在方法开始,不然的话,下面的代码还没运行到clearInterval,又开始了循环了。 if(timer){ clearInterval(timer) } //do something.... timer = se 阅读全文
posted @ 2022-12-13 14:14 明明一颗大白菜 阅读(187) 评论(0) 推荐(0) 编辑

<-- -->
点击右上角即可分享
微信分享提示