> You're comparing Elixir & Ruby with Babel, not vanilla JavaScript. You are putting your code on non-standard JavaScript, that's on you.
Babel is the only way to use modern standard JS without excluding older browsers.
I completely disagree. The TypeScript compiler allows you to specify a compile target against a version of JavaScript. That means you can write modern TypeScript and have it compile to ES3.
Well, yeah, but then you’re using modern TypeScript, not modern JavaScript.
Modern Javascript is a subset of TypeScript though.