Answer
Object.create(proto, [descriptors])— creates a new object whose prototype isproto. No own properties are copied; behavior is inherited via the prototype chain.Object.assign(target, ...sources)— copies own enumerable properties from sources onto an existingtarget(shallow copy) and returnstarget.