prototype
来源:互联网 发布:mac跑分性能测试 编辑:程序博客网 时间:2024/04/28 22:25
prototype不能用于实例,可以用于对象的建立
如:
function Car(){
this.color = "blue";
Car.prototype.show = function(){
}
}
而不能用
function Car(){
this.color = "blue";
this.prototype.show = function(){
}
}
- Prototype
- ProtoType
- prototype
- prototype
- Prototype
- prototype
- Prototype
- Prototype
- Prototype
- prototype
- prototype
- prototype
- prototype
- prototype!
- Prototype
- prototype
- prototype
- prototype
- 用友BQ商业智能平台——智能报表(表格式)&智能报告
- 通过SQL 2005 系统表监控 SQL Server 的运行状况
- 配置ArcGIS Server 9.3的Java开发环境(eclipse)
- 实现火狐与IE高度的解决方法
- android开发:错误 Conversion to Dalvik format failed: Unable to execute dex: null
- prototype
- JVM调优总结 -Xms -Xmx -Xmn -Xss
- ZZ - Mapping Pointers and Sharing Memory between Processes: Windows CE 5.0 vs. Windows Embedded CE 6.0
- Ubuntu下nfs服务器的搭建
- Install Oracle Grid Engine in Ubuntu
- 用友BQ商业智能平台——图表功能
- 南京浦口铁通 你让我怎么说你好呢
- vs2008快捷键使用及诀窍
- 回调函数的概念及其使用