(その他)
valueOf
オブジェクトの値を返します
書式
★.valueOf()
★=オブジェクト名
文例
Math.valueOf()
Date.valueOf()
myObject.valueOf()
上位オブジェクト
-
説明
オブジェクトの値を返します。
関連
typeof
サンプル1