You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/06-type-conversions/article.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ alert( Number(true) ); // 1
77
77
alert( Number(false) ); // 0
78
78
```
79
79
80
-
Ten en cuenta que `null` y `undefined` se de distinta manera aquí: `null` se convierte en `0` mientras que `undefined` se convierte en `NaN`.
80
+
Ten en cuenta que `null` y `undefined` se comportan de distinta manera aquí: `null` se convierte en `0` mientras que `undefined` se convierte en `NaN`.
81
81
82
82
````smart header="Adición '+' concatena strings"
83
83
Casi todas las operaciones matemáticas convierten valores a números. Una excepción notable es la suma `+`. Si uno de los valores sumados es un string, el otro valor es convertido a string.
0 commit comments