2 * Creates a function that returns `value`.
7 * @param {*} value The value to return from the new function.
8 * @returns {Function} Returns the new function.
11 * var object = { 'user': 'fred' };
12 * var getter = _.constant(object);
14 * getter() === object;
17 function constant(value) {
23 module.exports = constant;