Mastering O(1) Complexity: Check If an Object or Array is Empty in JavaScript | 2727