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

[fr] Syntax typo ? #22831

Open
fredmelka opened this issue Jul 30, 2024 · 2 comments
Open

[fr] Syntax typo ? #22831

fredmelka opened this issue Jul 30, 2024 · 2 comments
Labels
l10n-fr Issues related to French content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@fredmelka
Copy link

URL MDN

https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/construct

Sur quelle section/titre porte ce problème ?

Syntax

Quelle information était incorrecte, inutile ou incomplète ?

Reflect.construct(cible, listeArguments[, newCible]) ==> Syntax has a typo with array brackets!

Que vous attendiez-vous à voir ?

Reflect.construct(cible, listeArguments [], newCible)

Avez-vous des liens, références ou citations sur ce sujet ?

No response

Souhaitez-vous ajouter autre chose ?

No response

Métadonnées MDN

Page report details
@fredmelka fredmelka added l10n-fr Issues related to French content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jul 30, 2024
@ratala321
Copy link
Contributor

The squared brackets are used to indicate that newCible is an optional parameter.
In the English version of the docs, there are no squared brackets : Reflect.construct(target, argumentsList, newTarget).

@leon-win leon-win changed the title Syntax typo ? [fr] Syntax typo ? Jul 30, 2024
@fredmelka
Copy link
Author

Brackets mean optional argument for the french translation, alright. Many thanks for prompt reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-fr Issues related to French content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

2 participants