2012-05-27 関数定義 javascript 関数を定義するときは、このように書くことも出来ます。 var rethoge = function() { datastr = ""; datastr += "hoge"; return datastr; };