A RetroSearch Logo

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

Search Query:

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

BigInt.prototype.valueOf() - JavaScript | MDN

BigInt.prototype.valueOf()

Baseline Widely available

BigInt의 valueOf() 메서드는 BigInt 객체의 감싸진 원시값을 반환합니다.

시도해 보기
console.log(typeof Object(1n));
// Expected output: "object"

console.log(typeof Object(1n).valueOf());
// Expected output: "bigint"
구문 매개변수

없음.

반환 값

지정된 BigInt 객체의 원시값을 나타내는 BigInt.

예제 valueOf 사용하기
typeof Object(1n); // object
typeof Object(1n).valueOf(); // bigint
명세서 브라우저 호환성 다시 보기

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