hasOwnProperty () 方法會返回一個布爾值,指示對象自身屬性中是否具有指定的屬性例如:obj.hasOwnProperty(prop) 1. 所有 Object 的對象都會有 hasOwnProperty 方法。
確定! 回上一頁