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

Remove incorrect example about import #32502

Closed
10Derozan opened this issue Mar 1, 2024 · 2 comments
Closed

Remove incorrect example about import #32502

10Derozan opened this issue Mar 1, 2024 · 2 comments
Labels
closed: question A user misinterpretation or support question. No action required. Content:JS JavaScript docs

Comments

@10Derozan
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

import { "string name" as alias } from "module-name";

What did you expect to see?

Remove it, because it is a incorrect example.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@10Derozan 10Derozan added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 1, 2024
@github-actions github-actions bot added the Content:JS JavaScript docs label Mar 1, 2024
@Josh-Cena
Copy link
Member

Hi, have you tried? This works in any browser. TypeScript doesn't support it, if that's what you are asking: microsoft/TypeScript#40594

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2024
@Josh-Cena Josh-Cena added closed: question A user misinterpretation or support question. No action required. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Mar 1, 2024
@10Derozan
Copy link
Author

oh, it is my fault, thank you for replying me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: question A user misinterpretation or support question. No action required. Content:JS JavaScript docs
Projects
None yet
Development

No branches or pull requests

2 participants