diff options
Diffstat (limited to 'files/ko/web/javascript/reference/global_objects/number')
| -rw-r--r-- | files/ko/web/javascript/reference/global_objects/number/positive_infinity/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/number/positive_infinity/index.html b/files/ko/web/javascript/reference/global_objects/number/positive_infinity/index.html index a9aacad926..8df934febf 100644 --- a/files/ko/web/javascript/reference/global_objects/number/positive_infinity/index.html +++ b/files/ko/web/javascript/reference/global_objects/number/positive_infinity/index.html @@ -46,7 +46,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/POSITIVE_INFINITY <p>다음 코드에서 <code>smallNumber</code>는 JavaScript의 최댓값보다 큰 값을 할당받습니다. {{jsxref("Statements/if...else", "if")}} 문이 실행되면, <code>bigNumber</code>의 값이 <code>Infinity</code>이므로 <code>bigNumber</code>는 계산에 좀 더 적합한 유한값을 다시 할당합니다.</p> -<pre class="brush: js notranslate">var bigNumber = (Number.MAX_VALUE) * 2; +<pre class="brush: js">var bigNumber = (Number.MAX_VALUE) * 2; if (bigNumber === Number.POSITIVE_INFINITY) { bigNumber = returnFinite(); |
