first commit

이 커밋은 다음에 포함됨:
root
2026-04-08 17:52:38 +08:00
커밋 70a2ca66f3
12436개의 변경된 파일1921163개의 추가작업 그리고 0개의 파일을 삭제
+33
파일 보기
@@ -0,0 +1,33 @@
import LodashWrapper from './_LodashWrapper.js';
/**
* Executes the chain sequence and returns the wrapped result.
*
* @name commit
* @memberOf _
* @since 3.2.0
* @category Seq
* @returns {Object} Returns the new `lodash` wrapper instance.
* @example
*
* 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]
*/
function wrapperCommit() {
return new LodashWrapper(this.value(), this.__chain__);
}
export default wrapperCommit;