8.12.6 [[HasProperty]]

2010-05-04

Boolean [[HasProperty]](P:String)

Checks whether this O has an own OR inherited property named P.

Code: (Meta Ecma)
function [[HasProperty]](P){
desc = this.[[GetProperty]](P);
if (desc === undefined) return false;
return true;
}