摘要:
//今天放假没看东西,贴上以前的基础,没事看着玩 // String->-> var myStr = "My name is LiuYashion"; console.log( myStr.length ); //21 console.log( myStr.charAt(0) ... 阅读全文
摘要:
function God(){} function Foo(){ this.name="Foo~~"; } Foo.prototype = new God(); function Eoo(){ this.sex = "boy"; } Eoo.prototype = new Eoo(); var f1 = new Foo(); console.log(Foo.prot... 阅读全文