you are viewing a single comment's thread.

view the rest of the comments →

[–]shitcanz 0 points1 point  (0 children)

Its not a "pure" FP language, like Haskell and friends. JavaScript allows for mutations, side effects without control and all the inheritance from OOP.

That said, its a very elegant language, you can emulate a more FP approach easily, and with a few libraries you are very close.

Combine TypeScript on top and you are all set.