javascript
객체

객체는 xx는 xx를 xx해라 에서 xx는 부분을 뜻합니다.
예로, document.write("hello");
에서 객체는 document 입니다.
객체는 대표적으로 console(콘솔창), document(문서 출력창), windows(창) 등이 있습니다.

예시(좌: 코드, 우: 객체)
console.log()  console
windows.alert()  windows
document.write()  document
document.getElementById().textContent  document

+ Recent posts