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/BigInt below:

Constructeur BigInt() - JavaScript | MDN

Constructeur BigInt()

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2020.

Le constructeur BigInt() renvoie une valeur de type bigint (grand entier).

Syntaxe

js

BigInt(valeur);
Paramètres
valeur

La valeur numérique de l'objet à créer. Il peut s'agir d'une chaîne de caractères ou d'un entier.

Note : BigInt() ne s'utilise pas avec l'opérateur new.

Exemples Créer un nouveau grand entier

js

BigInt(123);
// 123n
Spécifications Specification ECMAScript® 2026 Language Specification
# sec-bigint-constructor
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