Skip to content

enhance: use empty prototype object#4099

Merged
huozhi merged 2 commits intomainfrom
enhance/access-key
Feb 20, 2025
Merged

enhance: use empty prototype object#4099
huozhi merged 2 commits intomainfrom
enhance/access-key

Conversation

@huozhi
Copy link
Copy Markdown
Member

@huozhi huozhi commented Feb 20, 2025

Use Object.create(null) to create safe empty object used as simple map

@huozhi huozhi requested a review from shuding as a code owner February 20, 2025 12:21
@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Feb 20, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@huozhi huozhi merged commit 975f991 into main Feb 20, 2025
@huozhi huozhi deleted the enhance/access-key branch February 20, 2025 12:31
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.

2 participants