Chapter · 10 lessons
JavaScript
All the JavaScript React needs: from variables to async and the patterns you meet everywhere in React.
JavaScript in general
JavaScript 01Variables, types and operatorsconst and let, numbers and text, type conversion, === vs. == and useful string methods.JavaScript 02Functions and closuresArrow functions, parameters, callbacks, functions returning functions, closures and pure functions.JavaScript 03ObjectsDot vs. square brackets, destructuring, spread, Object.entries and dynamic keys.JavaScript 04Arrays I: map, filter and friendsIndexes, map, filter, find, some, every, forEach and method chaining.JavaScript 05Arrays II: reduce, sorting and groupingreduce in depth, toSorted, Object.groupBy, Set, flatMap and the methods that change an array.JavaScript 06Conditions and logical operatorsTruthy and falsy, the ternary, &&, ||, ??, ?., switch and early return.JavaScript 07Asynchronous JavaScriptsetTimeout and the event loop, Promise, async/await, errors, Promise.all and fetch.JavaScript 08Modules and built-in toolsimport/export, JSON, Math, Date, Intl, localStorage and classes in a nutshell.