JS

用Object.create(prototype)方法创建一个对象,这个对象的原型将指向这个传入的prototype参数

原文地址:https://www.cnblogs.com/andremao/p/7860597.html