const isEmpty = obj => Reflect.ownKeys(obj).length === 0 && obj.constructor === Object
本文标题:检查对象是否为空
本文链接:https://www.haomeiwen.com/subject/pdmgxrtx.html
网友评论