首页 »Javascript教程 » javascript函数:javascript自定义函数 »正文javascript函数:javascript自定义函数来源: 发布时间:星期四, 2009年1月15日 浏览:2次 评论:0
="t18"><script type="text/javascript">
/////////////////////////////////////////////////////////////// wc = function { this.version = "1.0"; } wc.prototype.msg = function(e) { alert(this.version); } var d = wc; d.version = "2.5"; d.msg; /////////////////////////////////////////////////////////////// function x { this.a = "^_^"; this.b = function(f){ alert(this.a + "\r" + f); } } var c = x; c.b("___"); /////////////////////////////////////////////////////////////// </script> 0
相关文章
读者评论
发表评论 |