diff options
Diffstat (limited to 'files/ko/glossary/undefined/index.html')
-rw-r--r-- | files/ko/glossary/undefined/index.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/files/ko/glossary/undefined/index.html b/files/ko/glossary/undefined/index.html new file mode 100644 index 0000000000..1092b29ff4 --- /dev/null +++ b/files/ko/glossary/undefined/index.html @@ -0,0 +1,25 @@ +--- +title: undefined +slug: Glossary/undefined +tags: + - CodingScripting + - Glossary + - JavaScript +translation_of: Glossary/undefined +--- +<p><span class="seoSummary"><strong><code>undefined</code></strong>는 {{Glossary("primitive", "원시값")}}으로, 선언한 후 값을 할당하지 않은 {{glossary("variable", "변수")}} 혹은 값이 주어지지 않은 {{Glossary("argument","인수")}}에 자동으로 할당됩니다.</span></p> + +<h2 id="예제">예제</h2> + +<pre class="brush: js">var x; // 값을 할당하지 않고 변수 선언 + +console.log("x's value is", x) // "x's value is undefined" 출력 +</pre> + +<h2 id="더_알아보기">더 알아보기</h2> + +<h3 id="기술_참고서">기술 참고서</h3> + +<ul> + <li><a href="/ko/docs/Web/JavaScript/Data_structures">JavaScript 자료형과 자료 구조</a></li> +</ul> |