ended8월 4일· 1 sources
JSON은 당신을 속이고 있다
Why it matters
JSON.parse(JSON.stringify(value)) 는 JavaScript 상태를 그대로 복제하지 않으며, 큰 정수·undefined ·Date ·NaN 등이 조용히 변경되거나 삭제될 수 있음- JSON은 문자열·숫자·불리언· null ·배열·객체만 지원하는 작은 교환 형식이라BigInt , 컬렉션, 프로토타입, 객체 동일성 같은 JavaScrip...
1
Sources
+0
24h
—
Growth
48d
Active