aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/javascript/reference/global_objects/function/isgenerator
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
commita065e04d529da1d847b5062a12c46d916408bf32 (patch)
treefe0f8bcec1ff39a3c499a2708222dcf15224ff70 /files/de/web/javascript/reference/global_objects/function/isgenerator
parent218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (diff)
downloadtranslated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.gz
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.bz2
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.zip
update based on https://github.com/mdn/yari/issues/2028
Diffstat (limited to 'files/de/web/javascript/reference/global_objects/function/isgenerator')
-rw-r--r--files/de/web/javascript/reference/global_objects/function/isgenerator/index.html56
1 files changed, 0 insertions, 56 deletions
diff --git a/files/de/web/javascript/reference/global_objects/function/isgenerator/index.html b/files/de/web/javascript/reference/global_objects/function/isgenerator/index.html
deleted file mode 100644
index 5897905e92..0000000000
--- a/files/de/web/javascript/reference/global_objects/function/isgenerator/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
----
-title: Function.prototype.isGenerator()
-slug: Web/JavaScript/Reference/Global_Objects/Function/isGenerator
-tags:
- - Function
- - JavaScript
- - Method
- - Non-standard
- - Obsolete
-translation_of: Archive/Web/JavaScript/Function.isGenerator
----
-<div>{{JSRef}} {{non-standard_header}}</div>
-
-<p>Die nicht standardisierte <code><strong>isGenerator()</strong></code> Methode wird benutzt, um festzustellen, ob eine Funktion ein <a href="/de/docs/Web/JavaScript/Guide/Iterators_and_Generators#Generators.3A_a_better_way_to_build_Iterators">Generator</a> ist. In Firefox Version 58 wurde diese Methode entfernt.</p>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="syntaxbox"><code><var>fun</var>.isGenerator()</code></pre>
-
-<h3 id="Rückgabewert">Rückgabewert</h3>
-
-<p>Ein {{jsxref("Boolean")}} Welcher angibt, ob eine Funktion ein <a href="/de/docs/Web/JavaScript/Guide/Iterators_and_Generators#Generators.3A_a_better_way_to_build_Iterators">Generator</a> ist.</p>
-
-<h2 id="Beschreibung">Beschreibung</h2>
-
-<p>Die <code>isGenerator()</code> Methode stellt fest, ob eine Funktion <em><code>fun</code></em> ein <a href="/de/docs/Web/JavaScript/Guide/Iterators_and_Generators#Generators.3A_a_better_way_to_build_Iterators">Generator</a> ist. Diese war in einem frühen Vorschlag, wurde jedoch nicht in der ECMAScript 2015 Spezifikation eingefügt.</p>
-
-<h2 id="Beispiele">Beispiele</h2>
-
-<pre class="brush: js">function f() {}
-
-function* g() {
- yield 42;
-}
-
-console.log('f.isGenerator() = ' + f.isGenerator()); // f.isGenerator() = false
-console.log('g.isGenerator() = ' + g.isGenerator()); // g.isGenerator() = true
-</pre>
-
-<h2 id="Spezifikationen">Spezifikationen</h2>
-
-<p>Ist in keiner Spezifikation vorhanden. Implementiert in JavaScript 1.8.6.</p>
-
-<h2 id="Browserkompatibilität">Browserkompatibilität</h2>
-
-<div>
-
-
-<p>{{Compat("javascript.builtins.Function.isGenerator")}}</p>
-</div>
-
-<h2 id="Siehe_auch">Siehe auch</h2>
-
-<ul>
- <li><a href="/de/docs/Web/JavaScript/Guide/Iterators_and_Generators">Iteratoren und Generatoren</a></li>
-</ul>