Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/commit.js";

Executes the chain sequence and returns the wrapped result.

Examples

var array = [1, 2]; var wrapped = _(array).push(3);

console.log(array); // => [1, 2]

wrapped = wrapped.commit(); console.log(array); // => [1, 2, 3]

wrapped.last(); // => 3

console.log(array); // => [1, 2, 3]