摘要: 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字:^\d{n,}$ 4 m-n位的数字:^\d{m,n}$ 5 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 7 阅读全文
posted @ 2019-10-15 09:32 文殊师利法王子 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 来源:菜鸟教程:https://www.runoob.com/js/js-let-const.html 工具函数: https://mp.weixin.qq.com/s/ua7ztaI7bnwyegmPrr8fSQ 一,数组 1,其他类型转数组 测试文件: 阅读全文
posted @ 2019-10-15 09:09 文殊师利法王子 阅读(277) 评论(0) 推荐(0) 编辑

Nine colored deer