tsconfig Strict Mode: A One-Hour Migration Guide
by Marcus Hale
Replace every for-loop you write with the right array method, and know why.
MH Created by Marcus Hale
Every bullet below is something you will have built, shipped or be able to explain by the time you finish the last lesson.
4 modules · 6 lessons · 45m of material
2 lessons running 15m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
2 lessons running 14m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
1 lesson running 9m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
1 lesson running 7m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
4 modules · 6 lessons
45m total length
Short list, and deliberately so. If you meet these you can start today.
Array methods are the highest-leverage forty-five minutes a JavaScript beginner can spend. Most everyday data work is a map, a filter, a find or a reduce, and getting fluent with them removes a surprising amount of noise from your code.
This mini-course covers each method with a real task rather than a toy: map to reshape API responses, filter to apply user-selected criteria, find and findIndex to locate a record, some and every for validation, flatMap for nested results, and reduce for grouping and totals. The reduce lesson is deliberately long, because reduce is where most people give up, and it is shown alongside the loop it replaces until the shape is obvious.
The closing lesson covers mutation. Sort, reverse and splice change the original array, which causes real bugs in framework state. You will learn the copying alternatives added in recent JavaScript versions, toSorted, toReversed, toSpliced and with, and when each is worth using.
Still unsure about something? Write to misteryjj100@gmail.com and a human answers, usually the same working day.
Reviews are written by people who bought this course. We publish the critical ones too.
4.5
Rated 4.5 out of 5Course rating · 6 reviews
Nour Haddad
JavaScript developer
Watched it on a train and used it the same afternoon. The idea that all of these take a callback with the same three arguments is what turned a list I was trying to memorise into a family I now understand.
Selin Aydın
Frontend developer
Every other explanation starts by summing an array of numbers and then leaps to something baroque. This one builds up the shape of the accumulator first and the rest follows from it. I have reached for reduce twice this week without looking anything up.
Marco Bianchi
Full-stack developer
I had no idea toSorted and toSpliced existed. Years of defensively spreading an array before sorting it, for no reason. Worth the forty-five minutes for that section alone.
Erik Lund
CS student
good use of forty-five minutes. some and every get explained against a form validation example rather than an array of integers, which is exactly why the difference between them stayed with me.
Priyanka Joshi
Web developer
All correct and well judged for the length. flatMap gets about ninety seconds though, and of the whole set it is the one I understand least. I would happily have given up some of the map coverage to get it.
Gabriel Santos
Self-taught, switching careers
The listing says no prior experience is needed, and then chapter two is entirely comfortable with arrow functions, destructuring inside the callback parameters and implicit returns. If for-loops are honestly all you know, you will be pausing every thirty seconds. The material is good once you are past that barrier, but the description should say so.
Web engineer and JavaScript educator
Marcus has shipped front ends for two ad-tech startups and one very large retailer, which taught him more about performance budgets than any blog post could. He teaches JavaScript and TypeScript from the runtime up — event loop first, framework second — then follows the same code through Node on the server side. Every one of his courses ends with a deployed application rather than a folder of exercises. He writes a weekly newsletter on browser performance.
One-time payment · lifetime access