예제
<script>
/*
[문제]
다음 중 자바스크립트의 출력 형식에 어긋난 것을 고르시오.
[보기]
(1) document.write(3.14);
(2) document.write(10);
(3) document.write(True);
(4) document.write("50");
(5) document.write(false);
*/
</script>
HTML
복사
정답
<script>
/*
[문제]
다음 중 자바스크립트의 출력 형식에 어긋난 것을 고르시오.
[보기]
(1) document.write(3.14);
(2) document.write(10);
(3) document.write(True);
(4) document.write("50");
(5) document.write(false);
*/
/*
(3) document.write(True);
*/
</script>
HTML
복사