
대수 타입(Algebraic type) 대수 타입이란 여러개의 타입을 합성해서 만드는 타입을 말한다. 합집합(Union) 타입 let a: string | number | boolean; a = 1; a = "hello"; a = true; Union 타입으로 배열 타입 정의하기 let arr: (number | string | boolean)[] = [1, "hello", true]; Union 타입과 객체 타입 type Dog = ...
Continuously Evolving Front-End Developer: Passionate about Learning and Growing Every Day
안녕하세요! 프론트엔드 개발자 woodstock입니다. 저는 매일 조금씩 발전하고자 하는 마음으로 개발공부를 시작했고, 이 블로그는 그 과정에서 배우고 성장하는 이야기를 담고 있습니다. 여러분의 피드백과 조언은 언제나 환영합니다! 함께 배우고 성장하는 과정을 즐길 수 있기를 기대합니다.
Markdown supported · ⌘↵ to post
No responses yet.