<script>
function jiafa() {
this.name = "xuhaitao";
this.age = 36;
var obj = {};
obj.xx = "hunkxu";
obj.yy = "88";
return obj;
}
var aa = new jiafa();
console.log(aa);
</script>
打印:
FR:徐海涛(hunk xu)