UNPKG

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
module.exports = function(a){ return function(){ return a } }