--- title: Number.prototype.toSource() slug: Web/JavaScript/Reference/Global_Objects/Number/toSource translation_of: Web/JavaScript/Reference/Global_Objects/Number/toSource ---

{{JSRef("Global_Objects", "Number")}}{{ Non-standard_header() }}

概要

オブジェクトのソースコードを表す文字列を返します。

構文

number.toSource()

引数

無し。

説明

toSource メソッドは以下の値を返します。:

function Number() {[native code]}

このメソッドは、通常、 JavaScript によって内部的に呼ばれ、コード中で明示的には呼ばれません。

参照

Object.prototype.toSource