JavaScript `for ... in ... xxx.hasOwnProperty`