Seq_.prototype.commit本页总览_.prototype.commit()执行链式队列并返回结果。添加版本3.2.0返回(Object): 返回 lodash 的包装实例。例子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]