const
Version:
The constant function from functional programming: it takes a value and returns a function that will return that value:
2 lines (1 loc) • 62 B
JavaScript
The constant function from functional programming: it takes a value and returns a function that will return that value: