InJavascriptClass,howtocalltheprototypemethod.(threemethod)_javascript技巧【点击查看详情】
InJavascriptClass,howtocalltheprototypemethod.(threemethod)_javascript技巧:1、Using Javascript eval Method。 2、using a veriables save object this reference. 3、in innerHTML, we can using String to pass the prototype Method。 e.g. function myClass(instanc