「JavaScript/Number」の版間の差分

削除された内容 追加された内容
Ef3 (トーク | 投稿記録)
→‎インスタンスメソッド: Number.prototype.を前置。定義リスト。
Ef3 (トーク | 投稿記録)
10 行
Number.prototype.constructor === Number
</source>
 
== 静的プロパティ ==
{{節スタブ}}
<!--
a = []
for (const p in Object.getOwnPropertyDescriptors(Number))
if (typeof Number[p] != "function")
a.push(`; [[{{PAGENAME}}/${p}|Number.${p}]]`)
console.log(a.sort().join("\n"))
-->
; [[{{PAGENAME}}/EPSILON|Number.EPSILON]]
:
; [[{{PAGENAME}}/MAX_SAFE_INTEGER|Number.MAX_SAFE_INTEGER]]
:
; [[{{PAGENAME}}/MAX_VALUE|Number.MAX_VALUE]]
:
; [[{{PAGENAME}}/MIN_SAFE_INTEGER|Number.MIN_SAFE_INTEGER]]
:
; [[{{PAGENAME}}/MIN_VALUE|Number.MIN_VALUE]]
:
; [[{{PAGENAME}}/NEGATIVE_INFINITY|Number.NEGATIVE_INFINITY]]
:
; [[{{PAGENAME}}/NaN|Number.NaN]]
:
; [[{{PAGENAME}}/POSITIVE_INFINITY|Number.POSITIVE_INFINITY]]
:
; [[{{PAGENAME}}/length|Number.length]]
:
; [[{{PAGENAME}}/name|Number.name]]
:
; [[{{PAGENAME}}/prototype|Number.prototype]]
:
 
== 静的メソッド ==
{{節スタブ}}
<!--
consta = []
for (const p in Object.getOwnPropertyDescriptors(Number))
if (typeof Number[p] == "function")
a.push(`; [[{{PAGENAME}}/${p}|Number.${p}()]]`)
console.log(a.sort().join("\n"))
-->
; [[{{PAGENAME}}/isFinite|Number.isFinite()]]
:
; [[{{PAGENAME}}/isInteger|Number.isInteger()]]
:
; [[{{PAGENAME}}/isNaN|Number.isNaN()]]
:
; [[{{PAGENAME}}/isSafeInteger|Number.isSafeInteger()]]
:
; [[{{PAGENAME}}/parseFloat|Number.parseFloat()]]
:
; [[{{PAGENAME}}/parseInt|Number.parseInt()]]
:
 
== インスタンスメソッド ==