diff options
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/bigint/valueof/index.html')
| -rw-r--r-- | files/fr/web/javascript/reference/global_objects/bigint/valueof/index.html | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/bigint/valueof/index.html b/files/fr/web/javascript/reference/global_objects/bigint/valueof/index.html deleted file mode 100644 index 92a6e74350..0000000000 --- a/files/fr/web/javascript/reference/global_objects/bigint/valueof/index.html +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: BigInt.prototype.valueOf() -slug: Web/JavaScript/Reference/Global_Objects/BigInt/valueOf -tags: - - BigInt - - JavaScript - - Method - - Prototype - - Reference - - valueOf() -translation_of: Web/JavaScript/Reference/Global_Objects/BigInt/valueOf -original_slug: Web/JavaScript/Reference/Objets_globaux/BigInt/valueOf ---- -<div>{{JSRef}}</div> - -<p>La méthode <strong><code>valueOf()</code></strong> renvoie la valeur primitive encapsulée dans un objet {{jsxref("BigInt")}}.</p> - -<div>{{EmbedInteractiveExample("pages/js/bigint-valueof.html")}}</div> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="syntaxbox"><var>bigIntObj</var>.valueOf()</pre> - -<h3 id="Valeur_de_retour">Valeur de retour</h3> - -<p>Un grand entier (<em>big int</em>) représentant la valeur primitive de l'objet {{jsxref("BigInt")}} courant.</p> - -<h2 id="Exemples">Exemples</h2> - -<h3 id="Utiliser_valueOf()">Utiliser <code>valueOf()</code></h3> - -<pre class="brush: js">typeof Object(1n); // object -typeof Object(1n).valueOf(); // bigint -</pre> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - </tr> - <tr> - <td><a href="https://tc39.github.io/proposal-bigint/#sec-bigint.prototype.valueof">Proposition pour <code>BigInt</code></a></td> - <td>Proposition de niveau 3</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<p>{{Compat("javascript.builtins.BigInt.valueOf")}}</p> - -<h2 id="Voir_aussi">Voir aussi</h2> - -<ul> - <li>{{jsxref("BigInt.prototype.toString()")}}</li> -</ul> |
