This question about JavaScript with function-Object.
I have a function like:
function person(){
this.name = 'Tom',
this.Age //not set any value
}
And I created a object by "person" function:
var obj = new person();
obj.name //Tom
obj.Age //undefined
obj.DOB //also returned undefined
How to distinguish "Age” property already exist in "obj" but no value, or "DOB" does not exist at all.