/es-functional-mode-proposal

Proposal to enable opting JS into operating as a functional language

es-functional-mode-proposal

Proposal to enable opting JS into operating as a functional language

See 'use strict' for an idea of where this is heading.

Helpful plugin to simulate https://github.com/bodil/eslint-config-cleanjs

Major points

Strong-typing

TypeScript, Flow, Elm, and others agree that strong-typing provides safety and predictability.

Immutable data structures

Pure functions

JavaScript is context-sensitive when it comes to function purity.

Expressions > statements

No null or undefined