It is supported by almost all browsers, including IE9+, the Object.keys() method is likely the best approach to check if an object is empty. It produces an array containing the names of the properties of the specified object.