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 | 31 |
Tags
- flask
- mongoose
- 자료구조
- Python
- dfs
- nodejs
- Nest.js
- MySQL
- class
- JavaScript
- Express
- Bull
- Sequelize
- typeORM
- MongoDB
- 게임
- nestjs
- Dinosaur
- react
- cookie
- 정렬
- 공룡게임
- GIT
- OCR
- TypeScript
- Queue
- jest
- game
- AWS
Archives
- Today
- Total
목록tuple (1)
포시코딩
1월17일
TypeScript 기본적인 문법 말고 특수한 애들만 따로 공부를 더 해봤다. 튜플(Tuple) 튜플은 배열의 길이가 고정되고 각 요소의 타입이 지정되어 있는 배열 형식을 의미한다. const player: [string, number, boolean] = ["seonghun", 1, true] 열거형 - 이넘(Enum) 이넘은 특정 값들의 집합을 의미하는 자료형 타입스크립트에서는 숫자형 이넘과 문자형 이넘을 지원한다. enum Color {Red, Green, Blue} // 초기값이 없을 시 0부터 1씩 올라감 console.log(Color.Red); // 0 console.log(Color.Green); // 1 console.log(Color.Blue); // 2 let a: Color = Co..
TIL
2023. 1. 18. 00:23