diff --git a/www/docs/async-rosetta-stone.mdx b/www/docs/async-rosetta-stone.mdx index 4f4eac4f..2e4ad931 100644 --- a/www/docs/async-rosetta-stone.mdx +++ b/www/docs/async-rosetta-stone.mdx @@ -105,13 +105,13 @@ value has been computed. To use a promise: ```js -let promise = await promise; +let result = await promise; ``` To use an operation: ```js -let operation = yield* operation; +let result = yield* operation; ``` To convert from a promise to an operation, use [`call()`][call]