标签:
<script> var a = function (name, age) { this.name = name; this.age = age; this.clone = function () { return new a; } } var aa = new a; aa.name = "zz"; aa.age = "5"; alert(aa.age); var aaa = aa.clone(); aaa.name = "123"; alert(aaa.name); </script>
标签:
原文地址:http://www.cnblogs.com/zzq-include/p/4308779.html