09 2020 档案
摘要://字符串编码转为unicode编码 function charToUnicode(str) { let temp; let i = 0; let r = ''; for (let val of str) { temp = val.codePointAt(0).toString(16); while
阅读全文
摘要:(function () { var slice = Array.prototype.slice; Function.prototype.bind = function () { var thatFunc = this, thatArg = arguments[0]; var args = slic
阅读全文
摘要:// 判断是否是普通对象 export function isPlainObject(val: any): val is Object { return toString.call(val) '[object Object]' } 合并逻辑 function deepMerge(...objs: a
阅读全文

浙公网安备 33010602011771号