摘要: 判断数据类型 function myTypeOf(obj) { let res = Object.prototype.toString.call(obj).split(' ')[1] res=res.substring(0, res.length - 1).toLowerCase() return 阅读全文
posted @ 2022-08-09 18:34 北火廿口 阅读(34) 评论(0) 推荐(0)