Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Implement a simple Finite State Machine library in JavaScript


    Finite State Machines are an old concept in computer science that help you remain bug-free while you manage complex state interactions in your application. In this lesson, I'll show you how to implement one so you have an understanding of the fundamentals of what they do.

    This is based on my blog post: Implementing a simple state machine library in JavaScript