無名関数の関数を作成する手法のメモ

var my_name = new (function(){
  this.foo = function(){
    alert('hoge');
  };
});