In Javascript Class, how to call the prototype method.(three method)
摘要:1、UsingJavascriptevalMethod。2、usingaveriablessaveobject"this"reference...
1、UsingJavascriptevalMethod。
2、usingaveriablessaveobject"this"reference.
3、ininnerHTML,wecanusingStringtopasstheprototypeMethod。
e.g.
<SCRIPTLANGUAGE="JavaScript">
<>
</SCRIPT>
【In Javascript Class, how to call the prototype method.(three method)】相关文章:
★ JS面向对象(3)之Object类,静态属性,闭包,私有属性, call和apply的使用,继承的三种实现方法
上一篇:
js技巧--转义符""的妙用