> I was surprised to learn that even implementing isEmpty(ob) in Javascript is an O(n) operation on most runtimes.
That is surprising. Where `n` is the number of members, yes?
Surely that kind of operation should either return false immediately if there are no members, or return true in constant time if there is at least one member?
...although, do you have to iterate through the inherited members and check for `hasOwnProperty()`? Is it maybe O(n) where `n` is the number of enumerable inherited properties?