A RetroSearch Logo

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

Search Query:

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

BigInt() コンストラクター - JavaScript | MDN

MDN Web Docs
  1. 開発者向けのウェブ技術
  2. JavaScript
  3. JavaScript リファレンス
  4. 標準組み込みオブジェクト
  5. BigInt
  6. BigInt() コンストラクター

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

Filter sidebar

この記事では
  1. 標準組み込みオブジェクト
  2. BigInt
  3. コンストラクター
    1. BigInt() コンストラクター
  4. 静的メソッド
    1. BigInt.asIntN()
    2. BigInt.asUintN()
  5. インスタンスメソッド
    1. BigInt.prototype.toLocaleString()
    2. BigInt.prototype.toString()
    3. BigInt.prototype.valueOf()
  6. 継承
  7. Object/Function
  8. 静的メソッド
    1. Function.prototype.apply()
    2. Function.prototype.bind()
    3. Function.prototype.call()
    4. Function.prototype.toString()
    5. Function.prototype[Symbol.hasInstance]()
  9. 静的プロパティ
    1. Function: displayName 非標準
    2. Function: length
    3. Function: name
    4. Function: prototype
    5. Function.prototype.arguments 非標準 非推奨;
    6. Function.prototype.caller 非標準 非推奨;
  10. インスタンスメソッド
    1. Object.prototype.__defineGetter__() 非推奨;
    2. Object.prototype.__defineSetter__() 非推奨;
    3. Object.prototype.__lookupGetter__() 非推奨;
    4. Object.prototype.__lookupSetter__() 非推奨;
    5. Object.prototype.hasOwnProperty()
    6. Object.prototype.isPrototypeOf()
    7. Object.prototype.propertyIsEnumerable()
    8. Object.prototype.toLocaleString()
    9. Object.prototype.toString()
    10. Object.prototype.valueOf()
  11. インスタンスプロパティ
    1. Object.prototype.__proto__ 非推奨;
    2. Object.prototype.constructor
この記事では 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.

BigInt() コンストラクターは bigint 型の値を返します。

構文

js

BigInt(value);
引数
value

作成しようとしているオブジェクトの数値。文字列または整数にすることができます。

メモ: BigInt() は new 演算子と共には使用されません。

例 新しい BigInt の生成

js

BigInt(123);
// 123n
仕様書 Specification ECMAScript® 2026 Language Specification
# sec-bigint-constructor
ブラウザーの互換性 関連情報 Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on 2022年10月3日 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

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