diff options
Diffstat (limited to 'files/de/web/javascript/reference/global_objects/boolean/tosource')
-rw-r--r-- | files/de/web/javascript/reference/global_objects/boolean/tosource/index.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/files/de/web/javascript/reference/global_objects/boolean/tosource/index.html b/files/de/web/javascript/reference/global_objects/boolean/tosource/index.html new file mode 100644 index 0000000000..b37e4c226f --- /dev/null +++ b/files/de/web/javascript/reference/global_objects/boolean/tosource/index.html @@ -0,0 +1,60 @@ +--- +title: Boolean.prototype.toSource() +slug: Web/JavaScript/Reference/Global_Objects/Boolean/toSource +tags: + - Boolean + - JavaScript + - Method + - Non-standard + - Prototype +translation_of: Web/JavaScript/Reference/Global_Objects/Boolean/toSource +--- +<div>{{JSRef}} {{non-standard_header}}</div> + +<div>Die <code><strong>toSource()</strong></code> Methode gibt einen String mit dem Quelltext des Objektes zurück.</div> + +<div> </div> + +<h2 id="Syntax">Syntax</h2> + +<pre class="syntaxbox"><var>booleanObj</var>.toSource() +Boolean.toSource()</pre> + +<h3 id="Rückgabewert">Rückgabewert</h3> + +<p>Eine String-Repräsentation des Quelltextes des Objektes.</p> + +<h2 id="Beschreibung">Beschreibung</h2> + +<p>Die <code>toSource</code> gibt folgende Werte zurück:</p> + +<ul> + <li>Für das eingebaute {{jsxref("Boolean")}} Objekt gibt die <code>toSource</code> folgenden String zurück, um anzuzeigen, dass der Qeulltext nicht verfügbar ist: + + <pre class="brush: js">function Boolean() { + [native code] +} +</pre> + </li> + <li>Für Instanzen von {{jsxref("Boolean")}} gibt die <code>toSource</code> Methode einen String, der den Quelltext wiederspiegelt, zurück.</li> +</ul> + +<p>Die Methode wird intern von JavaScript aufgerufen und wird normalerweise nicht in Applikationen eingesetzt.</p> + +<h2 id="Spezifikationen">Spezifikationen</h2> + +<p>In keinem Standard enthalten. Implementiert in JavaScript 1.3.</p> + +<h2 id="Browserkompatibilität">Browserkompatibilität</h2> + +<div> + + +<p>{{Compat("javascript.builtins.Boolean.toSource")}}</p> +</div> + +<h2 id="Siehe_auch">Siehe auch</h2> + +<ul> + <li>{{jsxref("Object.prototype.toSource()")}} {{non-standard_inline}}</li> +</ul> |