摘要: ![](https://img2023.cnblogs.com/blog/1202393/202303/1202393-20230311154156857-880346538.png) 阅读全文
posted @ 2023-03-11 15:42 盘思动 阅读(24) 评论(0) 推荐(0) 编辑
摘要: export function isString(str) { if (typeof str "string" || str instanceof String) { return true } return false } const str = new String('hello'); 阅读全文
posted @ 2023-03-11 13:24 盘思动 阅读(437) 评论(0) 推荐(0) 编辑