Skip to content

Conditional operators: if, '?' #95

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

Closed
wants to merge 11 commits into from

Conversation

Giorgiosaud
Copy link
Contributor

Conditional operators: if, '?'

@CLAassistant
Copy link

CLAassistant commented Sep 8, 2019

CLA assistant check
All committers have signed the CLA.

@Giorgiosaud Giorgiosaud requested review from tscandalitta and removed request for a team September 8, 2019 03:20
Copy link
Member

@lizzie136 lizzie136 left a comment

Choose a reason for hiding this comment

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

Aún no he terminado este review, pero te dejo los comentarios que ya tengo contemplados. Gracias @Giorgiosaud!!


Sometimes, we need to perform different actions based on different conditions.
Algunas Veces, necesitamos ejecutar diferentes acciones basadas en diferentes condiciones.
Copy link
Member

Choose a reason for hiding this comment

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

Algunas veces


The `if (…)` statement evaluates the expression in its parentheses and converts the result to a boolean.
La sentencia `if (…)` evalua la exprecion dentro de sus parentesis y convierte el resultado en booleano.
Copy link
Member

Choose a reason for hiding this comment

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

expresión, y paréntesis


The `if` statement may contain an optional "else" block. It executes when the condition is false.
La sentencia `if` quizás contenga un bloque "de lo contrario" opcional. Este se ejecutará cuando la condición sea falsa.
Copy link
Member

Choose a reason for hiding this comment

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

creo que en este caso "else" no debería ir traducido, o al menos si vas a poner la traducción podría ir como que se traduce o lee como "de lo contrario"

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@Giorgiosaud
Copy link
Contributor Author

/done

@javascript-translate-bot javascript-translate-bot requested a review from a team September 11, 2019 00:21
@Giorgiosaud Giorgiosaud requested review from lizzie136 and removed request for a team September 11, 2019 00:21
Copy link
Member

@lizzie136 lizzie136 left a comment

Choose a reason for hiding this comment

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

Gracias, en adelante, hay lugares donde dice parametros sin tilde, que debería ser parámetros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6 participants