Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update Map usage explanation in article.md#3903

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ayush007-git wants to merge2 commits intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromayush007-git:patch-1

Conversation

@ayush007-git
Copy link

Clarify the correct usage of Map methods and explain the implications of using map[key].

Clarify the correct usage of Map methods and explain the implications of using map[key].
@javascript-translate-botjavascript-translate-bot added the review neededReview needed, please approve or request changes labelNov 10, 2025
@CLAassistant
Copy link

CLAassistant commentedNov 10, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the documentation about Map usage by clarifying what happens when using bracket notation (map[key]) instead of the proper Map methods. The update replaces a brief warning with a detailed explanation and concrete code example.

Key changes:

  • Expanded explanation of whymap[key] should be avoided, clarifying that it adds properties to the Map object itself rather than storing data in the Map collection
  • Added a practical code example demonstrating the difference between bracket notation and proper Map methods

💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.

@smith558smith558 self-assigned thisNov 12, 2025
Accepted the changes from the reviewCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

Assignees

@smith558smith558

Labels

review neededReview needed, please approve or request changes

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@ayush007-git@CLAassistant@smith558@javascript-translate-bot

[8]ページ先頭

©2009-2025 Movatter.jp