Skip to content

Visualize Your Ideas With Code

docs: fix typo in loop description (#612)

tirlimsterb09e99c4dfa2
diff --git a/packages/core/src/flow/loop.ts b/packages/core/src/flow/loop.ts
index 14fc0462..47b2dec2 100644
--- a/packages/core/src/flow/loop.ts
+++ b/packages/core/src/flow/loop.ts
@@ -30,7 +30,7 @@ decorate(loop, threadable());
* yield* loop(
* colors.length,
* i => rect.fill(colors[i], 2),
- * });
+ * );
* ```
*
* @param iterations - The number of iterations.