setInterval() method, offered on the Window and Worker interfaces, repeatedly calls a function or executes a code snippet, with a fixed time delay bet
fundamental problem of the aforementioned ways to assign handlers – we can’t assign multiple handlers to one event.addEventListener and removeEventLis
Using non-blocking asynchronous APIs is even more important on Node than in the browser because Node is a single-threaded event-driven execution envir
Pop, Push, Shift and Unshift 배열 제어 push, shift - queue (FIFO) push, pop - stack (LIFO) pop() : 배열 앞에 마지막으로 추가했던 아이템을 제거한다. push() : 배열 마지막 순서로 아이템을
자바스크립트 엔진은 싱글-쓰레드로 작동합니다. 동시에 여러가지 작업이 불가하다는 의미입니다. 일을 한번에 하나씩 밖에 못하는 직원을 생각하면 될거에요. 그 이상 주면 과부화가 걸리고요. 그래도 하나 처리하고 다음 거 처리하면서 순서대로 일할 수 있으니 맡겨주면 언젠간
arr.map(callback, thisArg)callback: 새로운 배열 요소를 생성하는 함수.currentValue : 현재 처리하는 요소index : 현재 처리하는 요소의 indexarray : 현재 처리하는 원본 배열thisArg(선택) : callback함수