ttdevelopers/ttObjects — comment on commit b6db9b72523c058277625169d05d216002b5845b
File: ttObjects.js line 7
By egeste:

It turns out that === is actually faster than hasOwnProperty - which makes sense, since hasOwnProperty would have to iterate over the object, despite the fact that it's native.

Should be: typeof member.setupRoom === 'object'

See: http://andrew.hedges.name/experiments/in/