You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,9 +79,10 @@ machine.current; // "Off"
79
79
80
80
- Generator Functions are a built-in feature of JavaScript and TypeScript.
81
81
- They have built-in syntax highlighting, autocompletion, and general rich language support in editors like Visual Studio Code.
82
-
- Our states are represented by actual JavaScript functions. This means if we pass a state that’s either spelled incorrectly or isn’t in scope, our editor will tell us.
83
-
- Generator Functions can be reused, composed, and partially applied like any function. This increases the modularity and reuse of our machine parts.
84
-
- Our states use the name of the function.
82
+
- Our states are represented by actual JavaScript functions.
83
+
- This means if we pass a state that’s either spelled incorrectly or isn’t in scope, our editor will tell us.
84
+
- Our states use the name of the function.
85
+
- Generator Functions can be reused, composed, and partially applied like any function. This increases the modularity and reuse of our machine parts.
85
86
- Coming soon: our machine definitions can be serialized and deserialized. This means they could be generated on a back-end and sent to the front-end. They could be stored away in a database. They could even be generated dynamically on the fly.
0 commit comments