Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- mariadb
- frontend
- Partition
- ServerSentEvent
- node.js
- 개발자
- 실시간알림
- 파티셔닝
- localStorage
- Lag
- EventSource
- Node.js기본
- partitioning
- 열공하자
- node.js란
- PostgreSQL
- 성장기
- SSE
Archives
- Today
- Total
써치킴의 우당탕탕 개발 블로그
[TypeScript][Ch2][Basic Types] object 본문
object
- "프리미티브 타입이 아닌 것"을 나타내고 싶을 때 사용하는 타입
// 해당방식은 typescript에서 객체 타입이 아니다.
// -> { name : "Mark", age : 39 } 타입이다.
const person1 = { name : "Mark", age : 39 }; // 리터럴 방식 선언
// Object 형태나 null 가능
const person2 = Object.create({ name : "Mark", age : 39 });
'TypeScript 합시다' 카테고리의 다른 글
[TypeScript][Ch2][Basic Types] Tuple (0) | 2022.02.10 |
---|---|
[TypeScript][Ch2][Basic Types] Array (0) | 2022.02.10 |
[TypeScript][Ch2][Basic Types] null & undefined (0) | 2022.02.09 |
[TypeScript][Ch2][Basic Types] symbol (0) | 2022.02.09 |
[TypeScript][Ch2][Basic Types] string (0) | 2022.02.09 |
Comments