티스토리 뷰
var test = (a,b) => { return a+b; }
test(1,2)
// 3
test = a => { return a*2; };
test(2)
// 4
test = () => { return 5; }
test()
// 5
// 화살표 함수의 유일한 문장이 'return'일 때 'return'과
// 중괄호({})를 생략할 수 있다.
test = () => 5;
test()
// 5
'code > javascript' 카테고리의 다른 글
| Array map, filter, reduce, find, findIndex (0) | 2021.05.29 |
|---|---|
| Variables scope in if/else statement and for/while loop (0) | 2021.05.14 |
| What is an API? (0) | 2021.05.07 |
| what is a prototype? (0) | 2021.05.04 |
| [docxtemplater] javascript 로 docx 워드 파일 다운로드 구현 (0) | 2020.08.14 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- deadlock ignorance
- 문제가된다면삭제하겠습니다
- test and set
- Program Counter
- devicecontroller
- 부모-자식 프로세스
- deadlock detection and recovery
- deadlock prevention
- I/O burst
- Semaphores
- exec()
- CPU Scheduler
- Copy on Write
- i/odevice
- CPU burst
- message system
- multiple-processer scheduling
- deadlock avoidance
- shortest job first
- Peterson's Algorithm
- nomorecramming
- process context
- 혹시이런거쓰면문제유출인가요
- docxtemplater
- dmacontroller
- process control block
- timesharing
- multiprogramming
- real time scheduling
- modebit
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
