JAvascriptの2つの呼び出し属性の例


<script>
var fire = {};
fire.animal={a:"    ",b:"    ",c:"    ",d:"    ",e:"    ",f:"    ",g:"   ",h:"      ",i:"      "};
alert(fire.animal.a);
alert(fire.animal.b);
alert(fire.animal.c);
alert(fire.animal.d);
alert(fire.animal.e);
alert(fire.animal.f);
alert(fire.animal.g);
alert(fire.animal.h);
alert(fire.animal.i);
function xiao(){}
var xiaoMember = "                    9                                          ,                                              \" \"   ";
xiao.prototype.member = xiaoMember;
var xiaoMemberName = new xiao();
alert(xiaoMemberName.member);
</script>