NestJS
├─src
│ ├─users
│ │ ├─dtos
│ │ │ └─create-user.dto.ts
│ │ ├─entities
│ │ │ └─users.entitiy.ts
│ │ ├─users.module.ts
│ │ └─users.resolver.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** example */ | |
function addition(a, b) { | |
const result = a + b; | |
return console.log(typeof result, result); | |
} | |
const num1 = 10; | |
const num2 = "20"; | |
addition(num1, num2); // log: string 1020 |
NestJS
├─src
│ ├─users
│ │ ├─users.module.ts
│ │ └─users.resolver.ts
│ ├─app.module.ts
│ └─main.ts
├─test
│ └─...test files
NestJS
├─src
│ ├─users
│ │ ├─users.module.ts
│ │ └─users.resolver.ts
│ ├─app.module.ts
│ └─main.ts
├─test
│ └─...test files
NestJS
├─src
│ ├─users
│ │ ├─users.module.ts
│ │ └─users.resolver.ts
│ ├─app.module.ts
│ └─main.ts
├─test
│ └─...test files
NestJS
├─src
│ ├─app.module.ts
│ ├─main.ts
├─test
│ └─...test files
└─eslint,env,prettier etc config files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Test Data | |
* const DATA = [ | |
* ['오백삼십조칠천팔백구십만천오백삼십구', '삼조사천이만삼천구'], | |
* ['육십사억삼천십팔만칠천육백구', '사십삼'], | |
* ['구백육십조칠천억팔천백삼십이만칠천일', '사십삼조오천이백억육천구백십만일'], | |
* ['이천구백육십조천오백칠십만삼천구백구십', '삼천사백오십조일억이천만육백사십삼'], | |
* ['사십오억삼천육십만오백구십', '칠십억천이백삼십오만칠천구십이'], | |
* ['천백십일', '구천오백구십구'], | |
* ['오억사천', '백십일'], |