<script>
function people (name, age) {
this.name = name;
this.age = age;
}
people.prototype.six = function () {
return '女'
}
var person = new people('我叫xxx', 10)
console.log(person)
</script>
对象实例
var person = new people()
person就是对象实例
new出来的people()就是构造函数