TypeError...
)el sistema de tipos de JavaScript a comparación de otros lenguajes de programación. esto se debe a la [[javascript-coercion | coerción]]. |
+'3.14' => 3.14
true + '' => 'true'
Number('3.14') => 3.14
Boolean(44) => true
(2059).toString() => '2059'
When I see a bird that walks like a duck and swims like a duck and quacks like a duck, I call that bird a duck.
[4. EL SISTEMA de TIPOS DE JAVASCRIPT | JS en ESPAÑOL](https://www.youtube.com/watch?v=0ei4nb49GKo) |