NaN 組込みオブジェクトこの章では組込み変数領域が初めから備えている
NaN 組込みオブジェクトを定義する。
NaN は NaN オブジェクトに対応する
Type のインスタンスである。
NaN のメンバprototypeNumber.prototype
を準プロトタイプとするオブジェクト。name"NaN"nanNaN
オブジェクト。NaN の内部メンバ$prototypeType.prototypeNaN の関数としての呼出しNaN は関数として呼出し可能であり、関数として呼出されると
新しい UnsupportedOperationError
のインスタンスを投げる。
NaN オブジェクトのプロパティNaN オブジェクトは以下のプロパティを持つ。ただし、初期の
NaN.prototype やその準プロトタイプのプロパティが
スクリプトの実行によって変更された場合は、この限りではない。
Math$abs メソッドMath$abs2 メソッドMath$re メソッドMath$im メソッドMath$conj メソッドMath$arg メソッドMath$sign メソッドMath$exp メソッドMath$log メソッドMath$sin メソッドMath$cos メソッドMath$tan メソッドMath$asin メソッドMath$acos メソッドMath$atan メソッドMath$sinh メソッドMath$cosh メソッドMath$tanh メソッドMath$asinh メソッドMath$acosh メソッドMath$atanh メソッドMath$floor メソッドMath$ceil メソッド@{ @nan } または @{ @this }toString メソッドNaN オブジェクトを @this
値として関数として呼び出されると、渡された @this
値を文字列に変換し、その文字列を内容とする文字列オブジェクトを値とする正常終了の結果を返す。
文字列への変換の方法は実行環境に任せる。