摘要:
//字符串编码转为unicode编码 function charToUnicode(str) { let temp; let i = 0; let r = ''; for (let val of str) { temp = val.codePointAt(0).toString(16); while 阅读全文
摘要:
// 判断是否是普通对象 export function isPlainObject(val: any): val is Object { return toString.call(val) '[object Object]' } 合并逻辑 function deepMerge(...objs: a 阅读全文