object functions can handle hasOwnProperty override

what is the advantage of this approach?