Translate specific terms in readme.md (#33965)
* Update readme.md * fix: applied suggested changespull/36267/head^2
parent
d0df3eab15
commit
66e9582c98
|
@ -12,12 +12,12 @@ JavaScript proporciona al usuario cinco operadores aritméticos: `+` , `-` , `*`
|
|||
|
||||
**Uso**
|
||||
```
|
||||
2 + 3 // returns 5
|
||||
true + 2 // interprets true as 1 and returns 3
|
||||
false + 5 // interprets false as 0 and returns 5
|
||||
true + "bar" // concatenates the boolean value and returns "truebar"
|
||||
5 + "foo" // concatenates the string and the number and returns "5foo"
|
||||
"foo" + "bar" // concatenates the strings and returns "foobar"
|
||||
2 + 3 // retorna 5
|
||||
true + 2 // interpreta true como 1 y retorna 3
|
||||
false + 5 // nterpreta false como 0 y retorna 5
|
||||
true + "bar" // concatena el valor booleano y retorna "truebar"
|
||||
5 + "foo" // concatena la cadena y el número y retorna "5foo"
|
||||
"foo" + "bar" // concatena las cadenas y retorna "foobar"
|
||||
```
|
||||
|
||||
_Consejo:_ Hay un operador de [incremento](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Increment_() práctico que es un gran atajo cuando agregas números en 1.
|
||||
|
@ -125,4 +125,4 @@ _Sugerencia:_ hay un operador de [reducción](https://developer.mozilla.org/en-U
|
|||
|
||||
_!¡Importante!_ Como puede ver, no **puede** realizar ningún tipo de operaciones en `Infinity` .
|
||||
|
||||
Fuente: El increíble [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators) .
|
||||
Fuente: El increíble [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators) .
|
||||
|
|
Loading…
Reference in New Issue