This website collects cookies to deliver better user experience

How to check if an object is empty in JavaScript?