function isEmpty(obj) { return Object.keys(obj).length === 0;}. Source: levelup.gitconnected.com. javascript check if object is null or empty.
確定! 回上一頁