To check if JavaScript object is empty, use Object.keys() function on the object to see how many properties it has and compare it with 0.
確定! 回上一頁