regexp is typeof == 'function' in FF1-2
hasOwnProperty is more simply taken from the internal method
edge build