JSON.stringify(obj) == '{}' // true
Object.keys(obj).length === 0; // true 空对象。
← 判断数组的方法 Object.is和==与===区别 →