aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/javascript/reference/global_objects/function/tosource
diff options
context:
space:
mode:
Diffstat (limited to 'files/ca/web/javascript/reference/global_objects/function/tosource')
-rw-r--r--files/ca/web/javascript/reference/global_objects/function/tosource/index.html97
1 files changed, 0 insertions, 97 deletions
diff --git a/files/ca/web/javascript/reference/global_objects/function/tosource/index.html b/files/ca/web/javascript/reference/global_objects/function/tosource/index.html
deleted file mode 100644
index 27f135ce13..0000000000
--- a/files/ca/web/javascript/reference/global_objects/function/tosource/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-title: Function.prototype.toSource()
-slug: Web/JavaScript/Reference/Global_Objects/Function/toSource
-translation_of: Web/JavaScript/Reference/Global_Objects/Function/toSource
----
-<div>{{JSRef}} {{non-standard_header}}</div>
-
-<p>El mètode <code><strong>toSource()</strong></code>retorna una cadena que representa el codi font de l'objecte.</p>
-
-<h2 id="Sintaxi">Sintaxi</h2>
-
-<pre class="syntaxbox"><code><var>function</var>.toSource();
-Function.toSource();
-</code></pre>
-
-<h3 id="Paràmetres">Paràmetres</h3>
-
-<p>Cap.</p>
-
-<h2 id="Descripció">Descripció</h2>
-
-<p>El mètode <code>toSource</code> retorna els valors següents:</p>
-
-<ul>
- <li>Per l'objecte incorporat {{jsxref("Function")}}, <code>toSource()</code> retorna la cadena següent indicant que el codi font no es troba disponible:
-
- <pre class="brush: js">function Function() {
- [native code]
-}
-</pre>
- </li>
- <li>Per funcions personalitzades, <code>toSource()</code> retorna la font de JavaScript que defineix l'objecte com una cadena.</li>
-</ul>
-
-<p>Aquest mètode se sol cridar internament per JavaScript i no explícitament en el codi. Podeu cridar <code>toSource</code> durant la depuració per examinar el contingut d'un objecte.</p>
-
-<h2 id="Especificacions">Especificacions</h2>
-
-<p>No forma part de cap estàndard. Implementat en JavaScript 1.3.</p>
-
-<h2 id="Compatibilitat_amb_navegadors">Compatibilitat amb navegadors</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Suport bàsic</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Android</th>
- <th>Chrome per Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Suport bàsic</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="Vegeu_també">Vegeu també</h2>
-
-<ul>
- <li>{{jsxref("Object.prototype.toSource()")}}</li>
-</ul>