Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 fix variable examples in async rosetta stone #911

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

cowboyd
Copy link
Member

@cowboyd cowboyd commented Sep 24, 2024

Motivation

In the section for promises and operations, we were re-assigning the variables to the value of the evaluated promise/operation.

While syntactically acceptable, it is a bad idea and nobody would ever write code like that.

Approach

Use result in both cases.

In the section for promises and operations, we were re-assigning the
variables to the value of the evaluated promise/operation.

While syntactically acceptable, it is a bad idea and nobody would ever
write code like that.
@cowboyd cowboyd merged commit 4982887 into v3 Sep 24, 2024
3 checks passed
@cowboyd cowboyd deleted the cl/docs-better-varnames branch September 24, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants