【JS面试题】原生JS手写new方法

个人我的博客 https://www.xuehuayu.cnweb 点击查看源码svg function Parent() { this.name = "parent"; this.say = function() { console.log("say") } }
相关文章
相关标签/搜索