Sure, but the language that _every_ developer will need to know is JavaScript, not OCaml or some other of the dozen alternatives that can be compiled to JS.
Besides, the ability to compile to JS is not enough; you will need to read it in JS, debug it in JS and let other developers work on it in JS (because they don't know OCaml).
Re:The Future of Programming in Node.js
by ndesaulniers on Tuesday August 13, 2013 @04:59PM
(#6208221)
Does _every_ C or C++ developer know the ISA they're targeting? Also, source maps.
[1]: ocsigen.org/js_of_ocaml/
The argument for developer time--as well as decreased maintenance cost--is exactly why I went with OCaml over pure JavaScript. And so far it's certainly paid off!