diff options
Diffstat (limited to 'files/ko/web')
-rw-r--r-- | files/ko/web/javascript/reference/global_objects/math/max/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/math/max/index.html b/files/ko/web/javascript/reference/global_objects/math/max/index.html index 439aebe905..a90570b4c4 100644 --- a/files/ko/web/javascript/reference/global_objects/math/max/index.html +++ b/files/ko/web/javascript/reference/global_objects/math/max/index.html @@ -70,7 +70,7 @@ Math.max(-10, 20); // 20 <pre class="brush: js">var arr = [1,2,3]; var max = arr.reduce(function(a, b) { return Math.max(a, b); -}); +}, -Infinity); </pre> <p>다음 함수는 {{jsxref ( "Function.prototype.apply ()")}}을 사용하여 숫자 배열에서 최대 요소를 찾습니다. <code>getMaxOfArray([1, 2, 3])</code>는 |