前端面试之手写代码篇-1.手写Object.create MaxXu 2024-01-17 38 阅读1分钟 function create(obj) { function F() {} F.prototype = obj return new F() }