-
Notifications
You must be signed in to change notification settings - Fork 226
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
Conversation
Conditional operators: if, '?'
There was a problem hiding this 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!!
1-js/02-first-steps/10-ifelse/6-rewrite-if-else-question/task.md
Outdated
Show resolved
Hide resolved
|
||
Sometimes, we need to perform different actions based on different conditions. | ||
Algunas Veces, necesitamos ejecutar diferentes acciones basadas en diferentes condiciones. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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"
Please make the requested changes. After it, add a comment "/done". |
/done |
There was a problem hiding this 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
.
Conditional operators: if, '?'