When comparing F# (via FunScript) vs Babel (6to5), the Slant community recommends Babel (6to5) for most people. In the question“What are the best languages that compile to JavaScript? ” Babel (6to5) is ranked 8th while F# (via FunScript) is ranked 36th. The most important reason people chose Babel (6to5) is:
Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easier transition from other paradigms
Since F# is not a purely functional language, it lends itself to being more easily picked up by programmers that have experience with other paradigms.
Pro Concise syntax
F#'s syntax tends to be terse while remaining very readable and easy to understand without being a chore to write.
Pro Runs on the CLR
Since F# runs on the Common Language Runtime or CLR, it has access to the entire .NET Framework, as well as libraries written in other .NET languages such as C#, VB.NET, and C++/CLI.
Pro Support ES6(Harmony)
Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
Pro Plugins for custom features
Pro Future forward thinking
Cons
Con Not really cross platform
Though the community sites are touting F# can be cross platform through use of Mono, the reality is that it is more of a hack to replay on larger mono applications in production.
Con Generated ES5 is ugly and performs badly
Output looks far from handwritten ES5, is quite large with a lot of extra statements to execute.