摘要:
JavaScript --apply方法使用 <script type="text/javascript"> function Person(name,age,sex){ this.name = name; this.age = age; this.sex = sex; } function Stu 阅读全文
摘要:
call使用场景: function Person(name,age,sex){ this.name = name; this.age = age; this.sex = sex; } function Student(name,age,sex,tel,size){ Person.call(this 阅读全文