HELLO , THIS IS SIMPLE DEEP CLONE LIBRARY
IF YOU WANT DEEP COPY FOR SOMETHING,
JUST, USE THIS LIBRARY!
import clone from 'clonedeep-simple'
const origin1 = [1,2,3,4,5];
const origin2 = {a:1,b:2};
const copy1 = clone(origin1);
const copy2 = clone(origin2);
origin1 == copy1 //false
origin2 == copy2 //false
EASY TO USE, HIGH PERFORMANCE TO USE
JUST USE! DEEPCLONE!
IF YOU WANT CONTRIBUTE THIS LIBRARY
- deepclone JOIN JS.
안녕하세요, 간단한 깊은복사 라이브러리 입니다.
JS 이용시 깊은복사가 필요할때 이용하세요
import clone from 'clonedeep-simple'
const origin1 = [1,2,3,4,5];
const origin2 = {a:1,b:2};
const copy1 = clone(origin1);
const copy2 = clone(origin2);
origin1 == copy1 //false
origin2 == copy2 //false
라이브러리를 개선하실 분은 컨트리뷰트 해주세요
- [deepclone] (https://github.com/ryuhojin/clonedeep-simple) 함께해주세요.