prototype.hasOwnProperty() method. Take a look at the following example. //Check to see if our object has a certain property. if(myObject.
確定! 回上一頁