Port Python’s if bucket is None: as if (bucket === null), and a backup check that should refuse to start without a bucket prints Backing up to undefined instead, then exits as if it succeeded. Missing and empty values are where JavaScript’s types part ways with Python’s.
This is the Fast Track version of JavaScript Variables and Types for Pythonistas, for learners with more Python experience on the Intermediate and Advanced paths. You’ll port the same print shop’s Python backup check to JavaScript, covering the same ground faster, in shorter lessons.
By the end of this course, you’ll be able to:
- Declare each name once with
constorlet, and keep it inside its braces - Ask a value’s type with
typeof, spot an array withArray.isArray(), and tellnullfromundefined - Check for empty values, from empty strings to empty arrays and objects
- Mix text and numbers safely with
Number()and=== - Port the whole backup check to JavaScript
You’ll need Python’s types and type() and isinstance(), plus Node 26 and the JavaScript basics: const, if, functions, arrays, and objects. The Python examples use Python 3.15.
Short videos and text lessons come with exercises, a project, and a quiz.
What’s Included:
- 16 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: