我有這樣的代碼在這裏: var infiltrationResult;
while(thisOption) {
var trNode = document.createElement('tr');
var tdNode = document.createElement('td');
var hrefNode = document.createElement('a'
說我有下面的代碼: function One() {}
One.prototype.x = undefined;
function Two() {}
var o = new One();
var t = new Two();
o.x和t.x都將計算爲undefined。 o.hasOwnProperty('x')和t.hasOwnProperty('x')都會返回false; pr