objectsJavaScriptObjectsEasyHow can you reliably check whether an object is empty?1Object.keys(obj).length === 02obj === {}3obj == null4obj.length === 0Back to list