A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/BigInt/valueOf below:

BigInt.prototype.valueOf() - JavaScript | MDN

BigInt.prototype.valueOf()

Baseline Widely available

La méthode valueOf() renvoie la valeur primitive encapsulée dans un objet BigInt.

Exemple interactif
console.log(typeof Object(1n));
// Expected output: "object"

console.log(typeof Object(1n).valueOf());
// Expected output: "bigint"
Syntaxe Valeur de retour

Un grand entier (big int) représentant la valeur primitive de l'objet BigInt courant.

Exemples Utiliser valueOf()
typeof Object(1n); // object
typeof Object(1n).valueOf(); // bigint
Spécifications Compatibilité des navigateurs Voir aussi

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4