💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
# 概念 * clone自己,生成一个新对象 * java默认有clone接口,不用自己实现 * JS中应用:Object.create ``` let proto = { getName: function(){return this.first + ' ' + this.last} } var a = Object.create(proto) var b = Object.create(proto) a.__proto__ === b.__proto__ // true ```