摘要: ``` // 输入目标, 返回目标具体类型 /** * @param {any} target 要判断类型的目标对象 * @returns 返回相应类型 */ export const targetType = (target) => { let result = '' switch (Object.prototype.toString.call(target)) { cas... 阅读全文
posted @ 2017-09-15 17:47 阿席巴i 阅读(136) 评论(0) 推荐(0) 编辑