In addition, there are general purpose languages that compile pretty well to JS:
* OCaml (js_of_ocaml, bucklescript) * Haskell * etc.
In addition, there are general purpose languages that compile pretty well to JS:
Those have the advantage that they have a mature ecosystem of libraries, and have very good compilers to native code on server side as well.