날짜 : 2024-02-10 16:11 § 메모 § 코드 § const updateCloseBtn = document.getElementById('updateCloseBtn'); // 버튼 클릭 이벤트에 대한 리스너 추가 updateCloseBtn?.addEventListener('click', function() { console.log("hello") });