Q2. 다음은 경고창을 띄우는 빈 칸에 들어갈 내용은? (100점)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script>
var name = "홍길동";
window.____________(name);
</script>
</body>
</html>
- 난이도(1~10) : 1
- - 실행 결과
-
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script>
var name = "홍길동";
window.alert(name);
</script>
</body>
</html>