Creates a function that returns value.
value
The value to return from the new function.
Returns the new function.
var object = { 'user': 'fred' }; var getter = _.constant(object); getter() === object; // => true