kimhongsu
kimhongsu
p.252 **콜백 함수를 받아서 동작하게 만든다면 위의 방법과 거의 동일하게 구현이 가능합니다.** --- 라고 설명해주셨는데, 콜백을 이용해서 어떻게 구현해야할지 모르겠습니다. 클로저를 이용하려면 함수를 리턴하는 패턴일거고, 리턴 되는 함수와 매칭된 변수들이...
## 원문 https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve   ## 오타수정 Promise.resolve(value) 메서드는 주어진 값으로 이행하는 Promise.then 객체를 반환합니다. Promise.resolve(value) 메서드는 주어진 값으로 이행된 Promise 객체를 반환합니다. 1....
## 원문  .then(result => result와 err 보여줌 => error 보여줌) ## 오타수정 .then(result => result 보여줌, err => error 보여줌) ## 이슈  원문과 비교하여 잘못된 코드를 수정하였습니다. .then()은...
Firefox에서 Shift+Space로 한영 전환이 안됩니다. 문제 발생 환경: Ubuntu 21.10, Ubuntu 22.04 Wayland 세벌식 390 Chrome 등 다른 브라우저에서는 한영 전환이 잘 됩니다. 추가로 20.04 X11 환경에서는 Shift+Space로 한영 전환이...
* Relative path support in CLI * Let's convert the user input paths to the absolute paths * **As-Is**: We had to use `$PWD` to point out the current directory...