aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/javascript/referencje/obiekty/math/max/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pl/web/javascript/referencje/obiekty/math/max/index.html')
-rw-r--r--files/pl/web/javascript/referencje/obiekty/math/max/index.html43
1 files changed, 0 insertions, 43 deletions
diff --git a/files/pl/web/javascript/referencje/obiekty/math/max/index.html b/files/pl/web/javascript/referencje/obiekty/math/max/index.html
deleted file mode 100644
index 40946461d5..0000000000
--- a/files/pl/web/javascript/referencje/obiekty/math/max/index.html
+++ /dev/null
@@ -1,43 +0,0 @@
----
-title: Math.max()
-slug: Web/JavaScript/Referencje/Obiekty/Math/max
-tags:
- - JavaScript
- - Math
- - Method
-translation_of: Web/JavaScript/Reference/Global_Objects/Math/max
----
-<div>{{JSRef}}</div>
-
-<h2 id="Podsumowanie">Podsumowanie</h2>
-
-<p>Zwraca największą z podanych liczb.</p>
-
-<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
-
-<pre class="syntaxbox"><code>Math.max([<var>value1</var>[, <var>value2</var>[, ...]]])</code></pre>
-
-<h3 id="Parametry" name="Parametry">Parametry</h3>
-
-<dl>
- <dt><code>value1, value2, ...</code></dt>
- <dd>liczby.</dd>
-</dl>
-
-<h2 id="Opis" name="Opis">Opis</h2>
-
-<p>Ponieważ <code>max</code> jest statyczną metodą obiektu {{jsxref("Math")}}, zawsze odwołujemy się do niej poprzez Math.max(), a nie jak do metody instancji obiektu {{jsxref("Math")}} utworzonej przez użytkownika.</p>
-
-<h2 id="Przyk.C5.82ady" name="Przyk.C5.82ady">Przykłady</h2>
-
-<h3 id="Przyk.C5.82ad:_Zastosowanie_Math.max" name="Przyk.C5.82ad:_Zastosowanie_Math.max">Przykład: Zastosowanie <code>Math.max()</code></h3>
-
-<pre class="brush: js language-js"><code class="language-js">Math<span class="punctuation token">.</span><span class="function token">max<span class="punctuation token">(</span></span><span class="number token">10</span><span class="punctuation token">,</span> <span class="number token">20</span><span class="punctuation token">)</span><span class="punctuation token">;</span> <span class="comment token"> // 20
-</span>Math<span class="punctuation token">.</span><span class="function token">max<span class="punctuation token">(</span></span><span class="operator token">-</span><span class="number token">10</span><span class="punctuation token">,</span> <span class="operator token">-</span><span class="number token">20</span><span class="punctuation token">)</span><span class="punctuation token">;</span><span class="comment token"> // -10
-</span>Math<span class="punctuation token">.</span><span class="function token">max<span class="punctuation token">(</span></span><span class="operator token">-</span><span class="number token">10</span><span class="punctuation token">,</span> <span class="number token">20</span><span class="punctuation token">)</span><span class="punctuation token">;</span> <span class="comment token"> // 20</span></code></pre>
-
-<h2 id="Zobacz_tak.C5.BCe" name="Zobacz_tak.C5.BCe">Zobacz także</h2>
-
-<ul>
- <li>{{jsxref("Math.min()")}}</li>
-</ul>