|
|
|
|
|
by teh64
3836 days ago
|
|
> JS is in exactly the same league with Python and Ruby and Perl other similar dynamic languages I don't know about Perl, but Python and Ruby both give you a type error for [] + {} or {} + [] or 1 + "1". And both Python and Ruby give you an error when you do something like "".notavalue, whereas javascript just gives you undefined. They might look similar enough visually, but under the hood they are different in terms of strictness and types. |
|