JavaScript Getter-Setter Pyramid

1 · André Staltz · Dec. 17, 2018, 10 p.m.
The cornerstone of JavaScript is the function. It is a flexible abstraction that works as the basis for other abstractions, such as Promises, Iterables, Observables, and others. I have been teaching these concepts in conferences and workshops, and over time I have found an elegant summary of these abstractions, layed out in a pyramid. In this blog post I’ll provide a tour through these layers in the pyramid. FUNCTIONS X => Y Function Value The very base of JavaScript are the first-class v...