JavaScript & TypeScript
Start with: The Story of JavaScript
Beginner → Advanced · Unit 1: JavaScript basics
0 of 50 lessons0%
This course
0 of 50 lessons- Units
- 6
- Lessons
- 50
- Hours
- 14
Units
6 units01JavaScript basics
9 lessons- The Story of JavaScriptKnow where JavaScript came from, who decides what it becomes, and how an engine actually runs your code.Start here
- Values and VariablesUse let and const correctly, know the seven primitive types, and avoid the classic number and typeof traps.
- Control FlowMake decisions with if, ternaries and switch, repeat work with for, while and for...of, and avoid off-by-one bugs.
- Strings and Template LiteralsBuild, slice, search and clean up text with template literals and the string methods you will use every day, and put text on a page safely.
- Functions and Arrow FunctionsWrite functions three ways, use default and rest parameters, and pass functions around as values.
- Arrays and ObjectsTransform data with map, filter and reduce, sort safely, and pick between objects, Map and Set.
- Array Methods in DepthGo past the basics of map, filter and reduce with callback arguments, searching, safe sorting, flat and flatMap, chaining, and knowing when a plain loop is clearer.
- Destructuring, Spread and Safe AccessUnpack values with destructuring, copy and merge with spread, and read nested data safely with ?. and ??.
- Equality and TruthinessCompare values correctly with ===, predict coercion, know the falsy list, and compare objects by value when you need to.