<html lang="ja">
<head>
<meta charset="utf-8"/>
<script>
///////////////////////////
function Dog(){
this.age = 3;
this.name = 'pochi';
};
///////////////////////////
//ここではfunction Dogのthisを実行しているのはDogオブジェクト。
//コンストラクタにインスタンスするときはnewの後に半角1文字のスペースを開ける。
var anyDog = new Dog();
console.log(Dog);
</script>
</style>
</head>
<body>
<div id="container">
<div id="target">
</div>
</div>
</body>