On 12Apr2023 22:12, avi.e.gr...@gmail.com <avi.e.gr...@gmail.com> wrote:
I suspect the OP is thinking of languages like PERL or JAVA which guess foryou and make such conversions when it seems to make sense.
JavaScript guesses. What a nightmare. Java acts like Python and will forbid it on type grounds (at compile time with Java, being staticly typed).
Cheers, Cameron Simpson <c...@cskk.id.au> -- https://mail.python.org/mailman/listinfo/python-list