If the length of the array is 0 , then we know that the object is empty. function isEmpty(obj) { return **Object.keys(obj).length === 0**; }.
確定! 回上一頁