📅  最后修改于: 2022-03-11 15:03:57.709000             🧑  作者: Mango
o = new Object();
o.propOne = null;
o.hasOwnProperty('propOne'); // returns true
o.propTwo = undefined;
o.hasOwnProperty('propTwo'); // returns true