verify if object is null javascript code example Example: js check if object is empty > !!Object.keys(obj).length;