Type Conversions - #57
Conversation
Primera edicion
| Por ejemplo, `alert` convierte automΓ‘ticamente cualquier valor a string para mostrarlo. Las operaciones matemΓ‘ticas convierten los valores a nΓΊmeros. | ||
|
|
||
| There are also cases when we need to explicitly convert a value to the expected type. | ||
| TmabiΓ©n hay casos donde necesitamos convertir de manera explΓcita un valor al tipo esperado. |
There was a problem hiding this comment.
It seems you reviewed the wrong commit. That was fixed in the latest one.
I will update this PR with the translation of task and solution.
There was a problem hiding this comment.
@tikoflano It keeps showing "TmabiΓ©n" and other comments. Can you confirm that you updated the parts I commented you about?
| Por ejemplo, `alert` convierte automΓ‘ticamente cualquier valor a string para mostrarlo. Las operaciones matemΓ‘ticas convierten los valores a nΓΊmeros. | ||
|
|
||
| There are also cases when we need to explicitly convert a value to the expected type. | ||
| TmabiΓ©n hay casos donde necesitamos convertir de manera explΓcita un valor al tipo esperado. |
There was a problem hiding this comment.
@tikoflano It keeps showing "TmabiΓ©n" and other comments. Can you confirm that you updated the parts I commented you about?
|
I fixed the typos. I'm curious about the "TmabiΓ©n" at line 7. I double checked that is ok in the "Files changed" of this PR. |
| - `undefined` is `NaN` as a number, not `0`. | ||
| - `"0"` and space-only strings like `" "` are true as a boolean. | ||
| - `undefined` es `NaN` como nΓΊmero, no `0`. | ||
| - `"0"` y textos que solo contienen espacios como `" "` son `true` como boolean. |
There was a problem hiding this comment.
QuedarΓa mejor cadenas en lugar de textos
There was a problem hiding this comment.
En todo el resto del artΓculo se usa la palabra "texto". Creo que "cadena" o "cadena de caracteres" puede confundir al lector ya que no se ha explicado lo que es.
Mejoras propuestas por @tscandalitta
Mejoras propuestas por @tscandalitta
lizzie136
left a comment
There was a problem hiding this comment.
Gracias @tikoflano por estos cambios π
|
Thank you π I updated the Progress Issue #17 π π π |
No description provided.