摘要: You don't really need to apply a really complex regex for one validation, instead you can combine multi regex together to fulfilll the task. const reg 阅读全文
posted @ 2024-07-08 14:57 Zhentiw 阅读(4) 评论(0) 推荐(0) 编辑
摘要: You cannot assign anything to never, except for never itself. // red squiggly lines under everything in parens fn("hello"); fn(42); fn(true); fn({}); 阅读全文
posted @ 2024-07-08 14:36 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑