Based on the content of the article, the code written in the F# examples is a very close mapping to what you would write in JS yourself, but you get the advantage of the F# typechecker.
Key phrase from article: Program both client and server in one great language...The F# code is executed as Javascript on the client side.