清空
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import getPrototypeOf from "./getPrototypeOf.js";
|
||||
export default function _superPropBase(object, property) {
|
||||
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
||||
object = getPrototypeOf(object);
|
||||
if (object === null) break;
|
||||
}
|
||||
return object;
|
||||
}
|
||||
Reference in New Issue
Block a user