(その他)
Function
関数を作成します
書式
★ = new Function([引数,引数,...引数,]"◆");
★=オブジェクト名
◆=関数本体
文例
setBGColor = new Function("document.bgColor='cyan'")
上位オブジェクト
-
説明
関数を作成します。function命令と同様です。
下位
arguments
,
caller
,
constructor
,
prototype
関連
Number
,
String
,
Math
,
Array
サンプル1