hasOwnProperty ('name'); // true 'name' in myObject; ... 換句話說,如果直接在物件內確認key 是可用的話, hasOwnProperty 只會回傳true。
確定! 回上一頁