test262 icon indicating copy to clipboard operation
test262 copied to clipboard

Object.hasOwnProperty.call

Open legendecas opened this issue 4 years ago • 1 comments

I see that this Object.hasOwnProperty.call exists elsewhere, but I think that was a mistake and the intention was actually to use Object.prototype.hasOwnProperty.call. I'm not going to block on it here, but someone should do a cleanup to use Object.prototype.hasOwnProperty.call or Reflect.hasOwnProperty.

Originally posted by @rwaldron in https://github.com/tc39/test262/pull/3512#discussion_r866315540

legendecas avatar May 09 '22 02:05 legendecas

Totally agree with you https://github.com/airbnb/javascript#objects--prototype-builtins

mapinxue avatar May 22 '22 10:05 mapinxue