~/toddmotto$
about contact fun forms↗
Todd Motto

Todd Motto

Built a tech company to 80k users. Google Developer Expert alumni, award winner and conference speaker. Into retro stuff and running.

now building

Fun Forms ↗

  • → github
  • → x
  • → linkedin
  • → rss
cd ~

Writing a Tiny State Machine in JavaScript

Fewer bugs with explicit states and transitions.

9 Dec 2025 #javascript

// keep reading

Sep 2025 Understanding JavaScript Closures #javascript Jul 2025 A Practical Guide to Async/Await #javascript Sep 2024 The Event Loop, Explained Visually #javascript

// © 2026 Todd Motto

  • rss
  • github
  • x
  • linkedin