I mean it's got it's quirks, like how isNaN(NaN) typeof NaN evaluates to false or typeof null is object instead of null, but I wouldn't say it's a terrible language at all.
It's seriously versatile and pretty damn fast and with JavaScript's tight integration with HTML and CSS makes it really easy for you to set up visualization for your code.
Python: the web basically looks the same as today, but Python gets ruined as each browser adopts new standards with each update. Guido publicly distances himself from PythonScript
Probably the opposite, actually. Something more like "the web uses Python, but it's still stuck on Python 2."
repeat is better, way more readable in a lot of cases
I mean hell, if you multiply two variables how are you supposed to know which one is the String and even if the result will be a String at all (instead of e.g. an int)
95
u/ilmmec Aug 26 '20
"Javascript goes b" + "r".repeat(10)