Hello all,

I'm here for one of my questions again :P

I need to make a  comparison  like this

if (archive[record_id][1].deleted_id == deleted_id) {

}
My problem is that [1].deleted_id might not exist at this point.

I know that archive[record_id] exists so how can i make this
comparison above?

[1] might not exists and i can't use hasOwnProperty("1") because it
throws an error as well.

can someone help me?! :P

raf


Reply via email to