Port [r["name"] for r in runners if r["finish"] != "DNF"] in the order it reads, as runners.map((r) => r.name).filter((r) => r.finish !== "DNF"), and the list of finishers includes a runner who dropped out, with no error.
This is the Fast Track version of From Comprehensions to JavaScript Array Methods, for learners with more Python experience on the Intermediate and Advanced paths. You’ll port the same half marathon’s results cleaner to JavaScript, covering the same ground faster, in shorter lessons.
By the end of this course, you’ll be able to:
- Turn comprehensions into
filter()andmap()chains, objects, and sets - Unpack arrays and objects, and spread them where Python uses
*and** - Check, total, and find the best item in an array with
some(),every(), andreduce() - Port the whole results cleaner to JavaScript
You’ll need Python’s comprehensions, any(), all(), sum(), min() with key=, and * and ** unpacking, plus Node 26 and JavaScript arrays, objects, arrow functions, and array destructuring. The Python examples use Python 3.15.
Short videos and text lessons come with exercises, a project, and a quiz.
What’s Included:
- 17 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 4 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: