Buy me a coffee
TypeScript
›
객체
›
spread
spread
객체
스프레드 연산자로 객체를 병합합니다.
문법
const merged = { ...obj1, ...obj2 }