function constantimport { constant } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/util.js"; constant(value)Creates a function that returns value. Examplesvar objects = _.times(2, _.constant({ 'a': 1 })); console.log(objects); // => [{ 'a': 1 }, { 'a': 1 }] console.log(objects[0] === objects[1]); // => true ParametersvalueThe value to return from the new function.