JS is powerful in the sense that you can do A LOT of weird stuff with it and the runtime interpreter will let you. So, IF you know what you are doing, you can write quite complex and convoluted expressions and the engine will happily chunk along. Until it’ll spit out some incomprehensible error because you forgot to cast some variable to the right type.
Typescript solves some of these issues. But not all. Oh, no no no.
256
u/swegj Jan 28 '23
“JavaScript is Powerful”. Oxymoron