You Don't Have to Use JavaScript
medium.com
medium.com
I think what the author meant to say is "you can pretend you're not writing javascript, even though you really are."
But once you compile that better, safer, saner language into the untyped, dynamic, poorly designed mess that is javascript, and run it in the volatile environment of a browser, it's still javascript running in a browser.
Now, you're half-right in that you may occasionally need to drop into JavaScript to do some "low level" things. This is no different from C++, where you may occasionally need to drop into x86 assembler to do some low level things, such as local speed optimization, or hitting memory-mapped registers.
In both cases, you're programming at a higher level using safer and more sophisticated abstractions.
Totally agree.
However, there's a difference between a strongly typed dynamic language and a weakly typed dynamic language. JavaScript is an example of the latter and it's done very badly (eg, inconsistent semantics). The lack of discipline makes it difficult to write safe, reliable software. Thus, JavaScript is ill-suited for serious software engineering.