JavaScript anatomyfunctionidentifierparameterargumentto callreturndefault parametersfunction declarationfunction expressoinarrow function notationcons
scopeletvarconstglobal scopefuction scope 과 block scope {}javascript arrayjavascript objecthoisting
while loop에는 두가지 종류가 있는데 하나는 while이 먼저 선언되는 일반적인 while loop이고, 또 하나는 condition이 선언되기 전에 do를 먼저 선언해서 조건에 맞지 않아도 무조건 적으로 최소 1번은 loop이 실행되는 do...while lo
higher order functioncallback functiondifference between calling and invoking
.classList.contains.add.remove.toggle
DOM Event change/remove HTML elements in the DOM/on the page change & add CSS styles to elements read& change element attributes *(href, src, alt, cu
value: 배열을 채울 값.start: 시작 인덱스, 기본 값은 0.end: 끝 인덱스, 기본 값은 this.length예제예제의 1번 row 부터 보면, fill() 메서드에서 필수 매개변수는 value임을 알 수 있다. start 나 end 배개변수가 없으면 타겟