[Cause I can't comment on my own post directly] I should give some some credit as Go is strictly better than Javascript.
But to answer the question, languages with (at least) type parameters and no data races (without using escape hatches). (Hint: that includes, but is not limited to, Rust).