If you are doing JS then you should certainly be using Typescript.
The best choice however is to simply use a better ecosystem entirely.
IMO JVM+Kotlin is great general purpose combo, Rust is good if you don't write the sort of code that needs GC'd structures, etc. Between those two I rarely need to consider anything else.
The best choice however is to simply use a better ecosystem entirely.
IMO JVM+Kotlin is great general purpose combo, Rust is good if you don't write the sort of code that needs GC'd structures, etc. Between those two I rarely need to consider anything else.