1. 2번 (window)
2. 2번 (navigator는 BOM 객체)
3.
window.open("test.html","win");
window.open("http://google.com","_self");
window.open("http://naver.com","_blank","width=400, height=500");
window.open("test.html","_blank","left=0, top=0");
4.
window.open("","_blank","left=100,top=100,width=500,height=600");
window.open("http://google.com","google");
5. 3번
6. 1번(navigator)
7. 4번(window.go(0))
8. 3번(웹페이지의 주소)
9. 3번
10.
let sum=0;
function f(){
sum++;
if (sum==10) clearTimeout(id);
}
for (let i=0; i<10; i++){
let id = setIimeout(f,2)
}
'1학년 > 명품 HTML+CSS+JS' 카테고리의 다른 글
11. HTML5 캔버스 그래픽 이론문제 정답 (1) | 2023.12.09 |
---|---|
10. 윈도우와 브라우저 관련 객체 실습문제 정답 (2) | 2023.12.08 |
8. HTML DOM과 Document 실습문제 정답 (1) | 2023.12.06 |
8. HTML DOM과 Document 이론문제 정답 (0) | 2023.12.06 |
7. 자바스크립트 코어 객체와 배열 실습문제 정답 (4) | 2023.12.04 |