반응형 querySelectorAll1 TIL 0924 날짜 2자리로 노드리스트reverse localStorage moment.js 날짜 2자리 표시 (“0” + this.getDate()).slice(-2); 월 2자리 표시 (“0” + (this.getMonth() + 1)).slice(-2); //querySelectorAll로 가져온 노드리스트를 reverse하는 방법 You can't call Array.prototype.reverse on NodeListCollection. Instead, you should use: var stars = [].slice.call(stars, 0).reverse() localStorage 사용법. 출처 : www.taniarascia.com/how-to-use-local-storage-with-javascript/ [ How to Use Local Storage with JavaSc.. 2020. 9. 24. 이전 1 다음 반응형