Writing memory-efficient, type-safe code.
I came to see that comment.
I was not disappointed.
Surely one can theoretically write a JS app that spits out memory-efficient, type-safe code in another language?
Yup, I could write a "JS application" that spits out memory-efficient, type-safe code by just using a different language than JS.
Yeah. JS is not the right choice in many many many cases.
We happen to be in a place in history where JS is super convenient (or the only option) for a lot of user-facing stuff, but its value only goes so far.
Nevertheless, the OP asked whether there is anything that can't be written in JS, not whether there is anything that shouldn't be written in JS :P
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.