ES6 Functions: Pure & self documented

September 16, 2016

A pure function is one that exhibits the property of substitution: replacing a call with its returned value should make the program equivalent. As an example, concat('hello', 'world') can be substituted with 'hello world' without changing the behavior of your program. Pure UI by Guillermo Rauch

Inspired in Making your JavaScript Pure article.

Kiko Beats

Written by Kiko Beats

Kiko Beats

Web is the Platform. Programmer, Computer Science & Software Engineer.

Web is the Platform.