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
객체
객체는 xx는 xx를 xx해라 에서 xx는 부분을 뜻합니다.
예로, document.write("hello");
에서 객체는 document 입니다.
객체는 대표적으로 console(콘솔창), document(문서 출력창), windows(창) 등이 있습니다.
예시(좌: 코드, 우: 객체)
console.log() console
windows.alert() windows
document.write() document
document.getElementById().textContent document
'하루하루 프로그래밍 > 하루하루 프로그래밍 시즌 2' 카테고리의 다른 글
하루하루 프로그래밍 13화 (0) | 2018.04.25 |
---|---|
하루하루 프로그래밍 12화 (0) | 2018.04.23 |
하루하루 프로그래밍 10화 (0) | 2018.04.21 |
하루하루 프로그래밍 9화 (0) | 2018.04.20 |
하루하루 프로그래밍 8화 (0) | 2018.04.19 |