即使属性的值是 null 或 undefined ,只要属性存在, hasOwnProperty 依旧会返回 true 。 o = new Object(); o.propOne = ...
確定! 回上一頁