var animal = function(){
// 属性
}
animal.prototype={
// name,value,
start:startAnination,
}
// 对象声明使用
var animal = new animal();
animal.start();
/*---------------------start-------------------------*/
// 在此处声明对象的各种方法
function startAnination(){
console.log("hello");
}
// ---------------------普通方法声明------------
function aa(){
}
</script>