1×
Become a member
to unlock all features

Create egghead account to access 5000+ tutorials and resources from expert developers.

Create account
Autoplay

    Implement a simple Finite State Machine library in JavaScript

    javascriptJavaScript

    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