js创建对象就如下面创建,不过return this不一定需要。
<script>
var checkObejct = new Function();
checkObject.prototype={
checkName:function(){
return this;
},
checkPassword:function(){
return this;
},
checkEmail:function(){
return this;
}
};
</script>

1180

被折叠的 条评论
为什么被折叠?



