Loading

摘要: 获取字符串中的字符数 export const characterCount = (str, char) => str.split(char).length - 1 检查对象是否为空 export const isEmpty = obj => Reflect.ownKeys(obj).length 阅读全文
posted @ 2022-02-28 23:52 Frank-Link 阅读(81) 评论(0) 推荐(0) 编辑