O'Reilly logo
  • Luis Crespo thinks this is interesting:

Listing 5.1. Functional data type to wrap values

From

Cover of Functional Programming in JavaScript

Note

Code below is full of errors. The same variable has 3 different mismatching names:
- _value
- val
- value