diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-14 12:18:12 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-14 12:18:12 -0500 |
commit | 869dd2069c695ee7040cd3261713212155819f42 (patch) | |
tree | 320a95de75a89686a9df006b90d923aa7fa0d551 /files/uk/web | |
parent | a5fcfafb665e96cae5d04dfba927db8dcdfd7f14 (diff) | |
download | translated-content-869dd2069c695ee7040cd3261713212155819f42.tar.gz translated-content-869dd2069c695ee7040cd3261713212155819f42.tar.bz2 translated-content-869dd2069c695ee7040cd3261713212155819f42.zip |
final dump 2020-12-14
Diffstat (limited to 'files/uk/web')
-rw-r--r-- | files/uk/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/files/uk/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html b/files/uk/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html index 45fb9dc9f8..130c6df073 100644 --- a/files/uk/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html +++ b/files/uk/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html @@ -18,7 +18,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySym <h2 id="Синтаксис">Синтаксис</h2> -<pre class="brush: js"><code>Object.getOwnPropertySymbols(<var>obj</var>)</code></pre> +<pre class="brush: js notranslate"><code>Object.getOwnPropertySymbols(<var>obj</var>)</code></pre> <h3 id="Параметри">Параметри</h3> @@ -39,7 +39,9 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySym <h2 id="Приклади">Приклади</h2> -<pre class="brush: js">var obj = {}; +<h3 id="Використання_getOwnPropertySymbols">Використання getOwnPropertySymbols</h3> + +<pre class="brush: js notranslate">var obj = {}; var a = Symbol('a'); var b = Symbol.for('b'); @@ -59,18 +61,9 @@ console.log(objectSymbols[0]); // Symbol(a) <tbody> <tr> <th scope="col">Специфікація</th> - <th scope="col">Статус</th> - <th scope="col">Коментар</th> - </tr> - <tr> - <td>{{SpecName('ES2015', '#sec-object.getownpropertysymbols', 'Object.getOwnPropertySymbols')}}</td> - <td>{{Spec2('ES2015')}}</td> - <td>Початкове визначення.</td> </tr> <tr> <td>{{SpecName('ESDraft', '#sec-object.getownpropertysymbols', 'Object.getOwnPropertySymbols')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td></td> </tr> </tbody> </table> |