Your example object is not empty so instead perhaps you want to test if all properties are undefined let o = {foo: undefined}; !_.values(o).some(x => x ...
確定! 回上一頁