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
- hoisting
- Component
- const
- asynchronus
- eruda
- vitre
- reactivity
- es6
- setup 함수
- watchEffect
- 오블완
- html 엔티티
- promise
- let
- drective
- await
- watch
- ref
- synchronus
- 템플릿 문법
- 앱 빌드
- dex모드
- computed
- tdz
- vue
- 티스토리챌린지
- composition api
- async
- composition API
- mobile dev tools
Archives
- Today
- Total
목록this (1)
uxtry
화살표 함수(Arrow function)는 ES6에서 도입된 함수 표현 방식으로, 기존의 function 키워드를 사용한 함수와 다르게 간결한 문법과 this 바인딩이 특징입니다. 1.기본문법화살표 함수는 function 키워드 대신 화살표 => 를 사용하여 정의합니다.//기본문법(param1, param2, ...) => { //함수 본문 return result;};//예시const add = (a, b) => a+b;console.log(add(2,3)); //5 2.문법의 간소화화살표 함수는 문법이 간단하여 짧은 함수에 적합합니다.매개변수가 하나일 때: 괄호를 생략할 수 있습니다.const square = x => x * x;console.log(squre(4)); //16본문이 한 줄일때:..
ES6 주요 문법 (es6:)
2024. 10. 29. 15:46