javascript check if an object is empty Edit
how to check in javascript if an object is empty
Solution
obj && Object.keys(obj).length === 0 && obj.constructor === Object
s
how to check in javascript if an object is empty
obj && Object.keys(obj).length === 0 && obj.constructor === Object