js prototype 巨大疑惑
来源:互联网 发布:2017中国使用网络人数 编辑:程序博客网 时间:2024/06/09 15:35
function FuckYou(){
}
FuckYou.prototype =object_test = {
name:"John",
sex:'male',
getName:function(){
return this.name;
}
}
var fuckyou = new FuckYou();
function subFuck(){
this.sex ='subFemale';
//FuckYou.call(this);
subFuck.prototype =fuckyou;
}
subFuck.prototype =fuckyou;
var subObject = new subFuck();
alert(subObject.getName());
alert(subFuck.prototype==FuckYou.prototype);//
// 既然未false,为什么还能引用?
- js prototype 巨大疑惑
- prototype.js
- Prototype.Js
- prototype.js
- js prototype
- prototype.js
- prototype.js
- JS Prototype
- js prototype
- js prototype
- js prototype
- js prototype
- prototype.js
- Prototype.js
- js prototype
- js prototype
- js prototype
- js prototype
- Pytho-SyntaxError: Non-ASCII character '\xe7' in file解决方法
- 清除window 系统中的垃圾文件-转
- 常用中断(转)
- VS2008 VS2005中的菜单或工具栏找不到"逐语句"和"跳出"按钮的解决办法
- 分页及页码导航 用户控件 .NET 分页源码 分页
- js prototype 巨大疑惑
- 派生类到基类的转换
- 通过SoapHeader来增强Web Service的安全性
- Silverlight 在XAML.CS中用C#代码定位Rectangle
- 机房收费系统阶段总结(1)数据库设计
- python 创建守护进程
- 框架开合显示
- Android GPS架构分析-preview
- 如何写Makefile编译汇编和C文件