Are support for Object.hasOwnProperty and Function.call reliably mutual?

Posted by kennebec on Stack Overflow See other posts from Stack Overflow or by kennebec
Published on 2010-05-30T15:16:29Z Indexed on 2010/05/30 15:22 UTC
Read the original article Hit count: 245

Filed under:
|
|

Can anyone tell me if there are any clients (browsers) that define a functioning Object.prototype.hasOwnProperty that do NOT define a Function.prototype.call?

That is, must I use belt and suspenders to qualify clients for a certain level of scripting, or will hasOwnProperty do for both?

if(Object.hasOwnProperty && Function.call){
// add script
}

Is support for either of these properties a reliable subset of support for the other?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about browser