diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:48:24 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:48:24 +0100 |
commit | ee778d6eea54935fd05022e0ba8c49456003381a (patch) | |
tree | 151a4cef804d8823cc8fc753b8edc693b7078241 /files/ko/glossary/불린 | |
parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
download | translated-content-ee778d6eea54935fd05022e0ba8c49456003381a.tar.gz translated-content-ee778d6eea54935fd05022e0ba8c49456003381a.tar.bz2 translated-content-ee778d6eea54935fd05022e0ba8c49456003381a.zip |
unslug ko: move
Diffstat (limited to 'files/ko/glossary/불린')
-rw-r--r-- | files/ko/glossary/불린/index.html | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/files/ko/glossary/불린/index.html b/files/ko/glossary/불린/index.html deleted file mode 100644 index 9d63373163..0000000000 --- a/files/ko/glossary/불린/index.html +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: 불린 -slug: Glossary/불린 -tags: - - 데이터 타입 - - 부울 - - 불린 - - 자료 유형 - - 자바스크립트 - - 프로그래밍 언어 -translation_of: Glossary/Boolean ---- -<p>컴퓨터 과학에서, <strong>불린(boolean)</strong>은 논리적인 데이터 유형이다. 불린은 <code>참(true)</code> 혹은 <code>거짓(false)</code> 값만을 가질 수 있다. 자바스크립트에서 불린 조건은 어떤 코드 부문이 실행되어야 할 지(예를 들어 <a href="/en-US/docs/Web/JavaScript/Reference/Statements/if...else">if 절</a> 안에서) 또는 어떤 코드 부문을 반복해야 할지(예를 들어 <a href="/en-US/docs/Web/JavaScript/Reference/Statements/for">for 문</a> 안에서) 결정하는 데 쓰인다.</p> - -<p>아래는 불린이 쓰일 수 있는 예시를 보여주는 유사코드이다(실행 가능한 코드가 아니다).</p> - -<pre>***JavaScript if Statement*** -if(boolean conditional) { - //coding -} - -if(true) { - console.log("boolean conditional resolved to true"); -} else { - console.log("boolean conditional resolved to false"); - } - - - -***JavaScript for Loop*** -for(control variable; boolean conditional; counter) { - //coding -} - -for(var i=0; i<4; i++) { - console.log("I print only when the boolean conditional is true"); -}</pre> - -<p>불린(Boolean)이란 이름은 기호 논리학 분야의 선구자인 영국 수학자 {{interwiki("wikipedia", "조지 불")}}의 이름을 따 만들어졌다.</p> - -<h2 id="더_알아보기">더 알아보기</h2> - -<h3 id="일반적인_지식">일반적인 지식</h3> - -<ul> - <li>위키피디아, {{Interwiki("wikipedia", "Boolean data type", "불린")}}</li> -</ul> - -<h3 id="참고문헌">참고문헌</h3> - -<ul> - <li>The JavaScript global object: {{jsxref("Boolean")}}</li> - <li><a href="/en-US/docs/Web/JavaScript/Data_structures">JavaScript data types and data structures</a></li> -</ul> |