diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-11 18:26:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 18:26:59 +0100 |
commit | 7a94b4d8daf297eda6df8e5cf933f7ba159bbc76 (patch) | |
tree | c8c8a36c41beda7a4c150927b2b5c7d2a09837bd /files/pl/conflicting/web/javascript/reference/operators_de3666cd349851054926d5e52fced70d/index.html | |
parent | ab718192b92d5cc38c1114e055a435a6de7dd8ef (diff) | |
parent | b8170f78422f2269dfc9df7760cc1ad51c048c00 (diff) | |
download | translated-content-7a94b4d8daf297eda6df8e5cf933f7ba159bbc76.tar.gz translated-content-7a94b4d8daf297eda6df8e5cf933f7ba159bbc76.tar.bz2 translated-content-7a94b4d8daf297eda6df8e5cf933f7ba159bbc76.zip |
Merge pull request #38 from fiji-flo/unslugging-pl
Unslugging pl
Diffstat (limited to 'files/pl/conflicting/web/javascript/reference/operators_de3666cd349851054926d5e52fced70d/index.html')
-rw-r--r-- | files/pl/conflicting/web/javascript/reference/operators_de3666cd349851054926d5e52fced70d/index.html | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/files/pl/conflicting/web/javascript/reference/operators_de3666cd349851054926d5e52fced70d/index.html b/files/pl/conflicting/web/javascript/reference/operators_de3666cd349851054926d5e52fced70d/index.html new file mode 100644 index 0000000000..86a341668a --- /dev/null +++ b/files/pl/conflicting/web/javascript/reference/operators_de3666cd349851054926d5e52fced70d/index.html @@ -0,0 +1,77 @@ +--- +title: Operatory przypisania +slug: >- + conflicting/Web/JavaScript/Reference/Operators_de3666cd349851054926d5e52fced70d +tags: + - JavaScript + - Operator +translation_of: Web/JavaScript/Reference/Operators#Assignment_operators +translation_of_original: Web/JavaScript/Reference/Operators/Assignment_Operators +original_slug: Web/JavaScript/Referencje/Operatory/Operatory_przypisania +--- +<div>{{jsSidebar("Operators")}}</div> + +<h2 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h2> + +<p>Operator przypisania przypisuje wartość swego prawego operandu do operandu lewego.</p> + +<p>Podstawowy operator przypisania to znak równości (<code>=</code>), który przypisuje wartość prawego operandu do lewego. To znaczy, że <code>x = y</code> przypisuje wartość zmiennej <code>y</code> do zmiennej <code>x</code>. Pozostałe operatory przypisania to zwykle skróty dla operacji standardowych, jak w poniższej tabeli.</p> + +<table class="standard-table"> + <tbody> + <tr> + <th>Operator skrócony</th> + <th>Znaczenie</th> + </tr> + <tr> + <td><code>x += y</code></td> + <td><code>x = x + y</code></td> + </tr> + <tr> + <td><code>x -= y</code></td> + <td><code>x = x - y</code></td> + </tr> + <tr> + <td><code>x *= y</code></td> + <td><code>x = x * y</code></td> + </tr> + <tr> + <td><code>x /= y</code></td> + <td><code>x = x / y</code></td> + </tr> + <tr> + <td><code>x %= y</code></td> + <td><code>x = x % y</code></td> + </tr> + <tr> + <td><code>x <<= y</code></td> + <td><code>x = x << y</code></td> + </tr> + <tr> + <td><code>x >>= y</code></td> + <td><code>x = x >> y</code></td> + </tr> + <tr> + <td><code>x >>>= y</code></td> + <td><code>x = x >>> y</code></td> + </tr> + <tr> + <td><code>x &= y</code></td> + <td><code>x = x & y</code></td> + </tr> + <tr> + <td><code>x ^= y</code></td> + <td><code>x = x ^ y</code></td> + </tr> + <tr> + <td><code>x |= y</code></td> + <td><code>x = x | y</code></td> + </tr> + </tbody> +</table> + +<p> + </p><div class="noinclude"> </div> +<p></p> + +<p> </p> |