객체
Date 객체: 자바스크립트에서 날짜와 시간을 다루는데 사용되는 객체 컴퓨터의 시간과 날짜를 알아낼 수 있고, 특정 날짜 정보를 저장해 놓을 수도 있다. let 객체명 = new Date(); let 객체명 = new Date(년, 월-1, 일); getFullYear(), getMonth(), getTime()(날짜간격), getDay(),... 브라우저와 관련된 객체: 웹 브라우저와 관련된 모든 객체들의 집합 window, document, navigator, history, location, screen 브라우저의 창 제어 기능 toolbar, location, status, menubar, scrollbars, resizable, width, height window.close(): 창 닫기 do..
2023. 5. 31.