function constant(value) {
      return function () {
        return value;
      };
    }
Creates a function that returns `value`.

@static
@memberOf _
@category Utilities
@param {*} value The value to return from the new function.
@returns {Function} Returns the new function.
@example

var object = { 'name': 'fred' };
var getter = _.constant(object);
getter() === object;
// => true