TIL - 06 : JavaScript
in Study Log on Today I learned

Task Queue, Microtask Queue, Event Loop 의 개념
증감 연산자 전위, 후위 (++i, i++)의 차이
parseInt와Math,floor의 차이여러 배열을 하나의 객체로 변환하고자 할때
reduce()
// file: "reduce.js"
const keys = ['k1', 'k2'];
const values = ['nams', 'yongs'];
const result = keys.reduce((acc, curr, idx) => {
acc[curr] = values[idx];
return acc;
}, new Object)
for..infor..of의 차이와 사용법script 속성
defer, async구동방식- 속성을 주면 굳이 body태그 안에 script가 없어도 된다.