Port copy.deepcopy(table) as [...table], update the provisional table with the week’s results, and the confirmed table changes too: every move reads same, and the confirmed leaders come out wrong, with no error.
This is the Fast Track version of Copying, Freezing, and Sorting JavaScript Arrays for Pythonistas, for learners with more Python experience on the Intermediate and Advanced paths. You’ll port the same five-a-side league’s table script to JavaScript, covering the same ground faster, in shorter lessons.
By the end of this course, you’ll be able to:
- Copy arrays, records, Maps, and Sets, and make a deep copy with
structuredClone() - Make tuple-like data read-only with
Object.freeze() - Sort records with compare functions, and break ties between teams level on points
- Change a copy, not the original, with
with()andtoSpliced() - Port the whole league table script to JavaScript
You’ll need Python’s shallow and deep copies, tuples, and sorting with a key function, plus Node 26 and JavaScript arrays of objects, arrow functions, slice(), compare functions for numbers, and Map and Set. The Python examples use Python 3.15.
Short videos and text lessons come with exercises, a project, and a quiz.
What’s Included:
- 15 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 5 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: