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
- typeORM
- TypeScript
- 정렬
- Python
- OCR
- 자료구조
- mongoose
- Dinosaur
- Sequelize
- 게임
- jest
- dfs
- nodejs
- Nest.js
- JavaScript
- GIT
- flask
- nestjs
- AWS
- react
- MySQL
- Express
- 공룡게임
- Bull
- MongoDB
- class
- Queue
- game
- cookie
Archives
- Today
- Total
목록readonly (1)
포시코딩
[TypeScript][노마드코더] #4 CLASSES AND INTERFACES(3)
readonly TypeScript type Words = { [key: string]: string } class Dict { private words: Words constructor() { this.words = {} } add(word: Word) { if (this.words[word.term] === undefined) { this.words[word.term] = word.def; } } def(term: string) { return this.words[term]; } } class Word { constructor ( public term: string, public def: string ) {} } const kimchi = new Word('kimchi', '한국의 음식'); cons..
JavaScript
2023. 1. 22. 20:25