Javascript
-
Date 타입의 불변성이 보장 되어야 하는 이유Javascript/개념 및 설명 2024. 7. 6. 12:48
js-joda나 day.js나 date-fns 등은 immutable 불변성을 보장하여 날짜 및 시간 객체가 변경 불가능 하기 때문에 예기치 않은 오류를 예방 할 수 있다. Reference- https://d2.naver.com/helloworld/645609- https://unspecified.wordpress.com/2013/08/02/why-you-should-never-mutate-a-javascript-date/ - https://jojoldu.tistory.com/600
-
Moment.js를 사용하지 말아야 될 이유Javascript/라이브러리 및 API 2024. 7. 6. 12:39
Reference- https://d2.naver.com/helloworld/645609- https://unspecified.wordpress.com/2013/08/02/why-you-should-never-mutate-a-javascript-date/- https://momentjs.com/docs/#/-project-status/recommendations/momment.js 공식 문서에서도 레거시 프로젝트라고 정의 되어 있다.파일 크기가 아주 크다는 것이 가장 큰 단점Moment.js 객체는 가변 객체이다. 이 가변성은 예기치 않은 버그를 일으킬 수 있다.
-
-
javascript 클래스내에서 메소드 arrow함수와 vs 메소드 함수Javascript 2023. 11. 17. 15:10
https://han7096.medium.com/%EB%A6%AC%EC%95%A1%ED%8A%B8-arrow-%ED%95%A8%EC%88%98%EC%99%80-%EC%9D%BC%EB%B0%98%EC%A0%81%EC%9D%B8-%ED%95%A8%EC%88%98%EC%9D%98-%EC%B0%A8%EC%9D%B4%EC%A0%90-3e81273b028a [ ES6 ] 클래스 내에서 arrow 함수와 메서드의 차이점 작성배경 han7096.medium.com https://simsimjae.tistory.com/452
-
-
indexed db api에 대해Javascript/라이브러리 및 API 2021. 10. 29. 21:01
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB Using IndexedDB - Web APIs | MDN IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, your applications can work both online and offline. developer.mozilla.org
-
-