일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- CSS
- ES5
- nodeValue
- UI
- innerHTML
- addEventListener
- javascript
- innerText
- react
- 컬러 테마
- Empty
- Event
- textContent
- Dom
- eas
- HTML
- 빌드 전 점검
- Review
- snyk
- eas build
- modal
- js
- 커스텀 테마
- ui-kitten
- a11y
- yet
- node.js
- expo
- node
- es6
- Today
- Total
목록es6 (3)
the murmurous sea
The study started from: I can't hoist const function...?! Why...? A. Declaring Variables www.youtube.com/watch?v=dzEieWaOJE0&t=5s www.youtube.com/watch?v=j-9_15QBW2s B. Temporal Dead Zone It's because of : Unlike variables declared with var, which will start with the value undefined, let variables are not initialized until their definition is evaluated. : Accessing the variable before the initia..
After //1. var console.log('typeof minus:', typeof minus) console.log('minus(5,1):', minus(5,1)) var minus = (a,b) => a - b; //typeof minus: undefined //Uncaught TypeError: minus is not a function at check.js:4 //(anonymous) @ check.js:4 //2. const console.log('typeof minus:', typeof minus) console.log('minus(5,1):', minus(5,1)) const minus = (a,b) => a - b; //Uncaught ReferenceError: Cannot acc..
1. method 2. returns a Promise. 3. As the then and Promise.prototype.catch() methods return promises, they can be chained — an operation called composition. 4. returns a Promise which allows for method chaining. [Syntax] p.then(onFulfilled[, onRejected]); p.then(value => { // fulfillment }, reason => { // rejection }); onFulfilled Optional A Function called if the Promise is fulfilled. : has one..