跳到主要内容

获取原型

作为一个在 ES5 就引入的内容,不知道为什么要重写一下,可能 IE 不支持吧。

const getPrototypeOf = Object.getPrototypeOf;

export default getPrototypeOf;