Conditional operators: if, '?' by Giorgiosaud · Pull Request #95 · javascript-tutorial/es.javascript.info
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!!
| # Operadores condicionales: if, '?' | ||
|
|
||
| Sometimes, we need to perform different actions based on different conditions. | ||
| Algunas Veces, necesitamos ejecutar diferentes acciones basadas en diferentes condiciones. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Algunas veces
| ## Conversion Booleana | ||
|
|
||
| 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. |
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
| ## La clausula "else" | ||
|
|
||
| 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. |
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".
Then I'll ask for a new review 👻
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters