Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pattern Matching in JS

JSConf via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore pattern matching techniques in JavaScript through this conference talk from JSConf US 2018. Dive into various approaches including switch statements, ternary operators, object literals, and Redux reducers. Learn how to leverage destructuring, default values, and rest arguments for more efficient code. Discover the similarities between JavaScript's pattern matching and other languages like Elm, Rust, and Elixir. Gain insights on updating state, handling conditionals, and implementing variable assignments using pattern matching. Enhance your JavaScript skills and write cleaner, more maintainable code by mastering these powerful pattern matching concepts.

Syllabus

Intro
Switch Statements
Ternary Statements
Object Literal
Redux Reducers
Switch Statement
Destructuring
Elm
Rust
Elixir
Water Bottle
JavaScript
Default Values
Arrays
Rest Argument
UpdateState
Destructuring Action
Variable Assignment
Node
Conditionals
Where is Pattern Matching

Taught by

JSConf

Reviews

Start your review of Pattern Matching in JS

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.