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

Update index.md #36823

Closed
wants to merge 1 commit into from
Closed

Update index.md #36823

wants to merge 1 commit into from

Conversation

LYouba
Copy link

@LYouba LYouba commented Nov 16, 2024

FIX bug generate.js

Description

Motivation

Additional details

Related issues and pull requests

FIX bug generate.js
@LYouba LYouba requested a review from a team as a code owner November 16, 2024 17:00
@LYouba LYouba requested review from Josh-Cena and removed request for a team November 16, 2024 17:00
@github-actions github-actions bot added Content:Learn:JavaScript Learning area JavaScript docs size/xs [PR only] 0-5 LoC changed labels Nov 16, 2024
@@ -152,7 +152,7 @@ document.querySelector("#generate").addEventListener("click", () => {
const quota = document.querySelector("#quota").value;
worker.postMessage({
command: "generate",
quota,
quota: quota
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
quota: quota
quota: quota,

Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already valid code and is preferred by our style guide.

@Josh-Cena Josh-Cena closed this Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Learn:JavaScript Learning area JavaScript docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants