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] Fix: Update code example (Fixes #22940) #23261

Merged

Conversation

quentin-rey
Copy link
Contributor

Description

Update to the code example given in the ‘Removing nested brackets’ section.

L'opération composite suivant, qui utilise des booléens :
bCondition1 || (bCondition2 && bCondition3);
sera toujours égale à :
bCondition1 || (bCondition2 && bCondition3);

to

L'opération composite suivant, qui utilise des booléens :
bCondition1 || (bCondition2 && bCondition3);
sera toujours égale à :
bCondition1 || bCondition2 && bCondition3;

as in the example given on the original English page.

Motivation

Error correction

Additional details

N/A

Related issues and pull requests

@quentin-rey quentin-rey requested a review from a team as a code owner August 26, 2024 09:16
@quentin-rey quentin-rey requested review from SphinxKnight and removed request for a team August 26, 2024 09:16
@github-actions github-actions bot added the l10n-fr Issues related to French content. label Aug 26, 2024
Copy link
Contributor

github-actions bot commented Aug 26, 2024

Preview URLs

Flaws (2)

URL: /fr/docs/Web/JavaScript/Reference/Operators/Logical_AND
Title: ET logique (&&)
Flaw count: 2

  • macros:
    • /fr/docs/Web/JavaScript/Guide/Using_classes does not exist but fell back to /en-US/docs/Web/JavaScript/Guide/Using_classes
  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Operators/Operator_Precedence

(comment last updated: 2024-09-12 08:04:16)

Copy link
Member

@cw118 cw118 left a comment

Choose a reason for hiding this comment

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

Sorry for the delay :/ Looks good, thank you for this correction @quentin-rey !

@cw118 cw118 merged commit c6be9f7 into mdn:main Sep 23, 2024
7 checks passed
@quentin-rey quentin-rey deleted the Web_JavaScript_Reference_Operators_Logical_AND-fix branch September 23, 2024 08:01
sora32127 pushed a commit to sora32127/translated-content that referenced this pull request Oct 6, 2024
* fix: Update retrait_des_parenthèses_imbriquées

fix mdn#22940

* Update files/fr/web/javascript/reference/operators/logical_and/index.md

Co-authored-by: A1lo <[email protected]>

---------

Co-authored-by: A1lo <[email protected]>
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.
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

problème dans l'exemple du retrait des parenthèses imbriquées
3 participants