RealJS
  • Start Here
  • Learn JavaScript
    Start Learning
    Your Learning Plan →Your personalized JavaScript learning plan Learning Paths →Guided study plans for accelerated learning Tutorials →In-depth articles on JavaScript topics Courses →Step-by-step lessons that build a skill
    Get Help
    Mentor AI →NewYour personal JavaScript mentor
    Practice
    Coding Exercises →Write code and get instant feedback Quizzes →Check your learning progress
    Resources
    Reference →Concise definitions for JavaScript terms Browse Topics →Focus on a specific area or skill level Cheat Sheets →Key syntax and patterns at a glance
    Unlock All Content →Get unlimited access to everything on RealJS
  • Search
/
  • Join
  • Sign‑In

Porting Python's Defaults and match Statements to JavaScript (Quiz)

Stephen Gruppetta
Porting Python's Defaults and match Statements to JavaScript (Fast Track) Stephen Gruppetta 06:30
Course Slides (.pdf) Sample Code (.zip)
Ask a Question
  • Contents
  • Discussion

Become a Member to take the quiz.

Become a Member to join the conversation.

Course Contents

Overview
92%
  • Welcome to the Booking Confirmations 02:04
  • Picking a Value With || and && 11:00
    Choosing Between || and ?? 05:09
    Exercise: Fill In the Setup Sheet 08:00
  • Filling In a Request With ??=, ||= and &&= 11:30
    Exercise: Complete the Room Records 08:00
  • Porting a match With Guards 04:36
    Porting a match With Patterns 09:00
    Exercise: Charge the Cleaning Fee 15:00
  • Calling the Right Notice With ?.() 11:00
    Exercise: List Each Room's Setup 18:00
  • Porting the Booking Confirmations Script 06:21
    Exercise: Finish the Booking Confirmations 18:00
  • Porting Python's Defaults and match Statements to JavaScript (Quiz) 06:30
    Porting Python's Defaults and match Statements to JavaScript (Summary) 05:30

© 2026 RealJS ⋅ Privacy Policy