Menguji objek untuk properti
function checkObj(obj, checkProp) {
if(obj.hasOwnProperty(checkProp)){
return obj[checkProp];
}else{
return "Not Found"
}
}
Owlthegentleman