Course contentsShow
JavaScript
Lesson 2428 of 2,72349. Common Patterns and IdiomsPro lesson

Transition Functions and Event Handling

Write a transition function that takes the current state and an event, returning the next state.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.