Comentario del ejemplo 'if...else' traducido (#21858)

This commit is contained in:
Aingeru
2018-11-24 22:25:53 +01:00
committed by Randell Dawson
parent bc80c00563
commit 7419cc3e52

View File

@ -48,7 +48,7 @@ if (condition) {
**Usando** `if...else` :
```javascript
// If x=5 z=7 and q=42. If x is not 5 then z=19.
// Si x=5 --> z=7 y q=42. Si x no es igual a 5 --> z=19.
if (x == 5) {
z = 7;
q = 42
@ -70,4 +70,4 @@ if (x < 10)
return "Invalid number";
}
```
```