JavaScript: ES6 fundamentals
Web Technologies · Engineering
Study notes
Fetch data: const res = await fetch(url); const {name} = await res.json(); render(name). Arrow: arr.map(x => x*2). Destructure: const [a,b] = pair. Modules: export function; import {f}. Avoid var (function scope bugs).