Mozilla's website clearly describes hasOwnProperty()
and the in
operator.
However, it does not give any implementation details in regards to their efficiencies.
I would suspect they'd be O(1)
(constant time) but would love to see any references or tests that might exist.