87,993
社区成员
发帖
与我相关
我的任务
分享
objectx.prototype.initialize=function(){
// .........
}
objectx.prototype.afun= function() {
// .........
};
objectx.prototype.bfun= function() {
// .........
};
function test()
{
var obj = new objectx();
// 高能预警 这里我输入 obj. 它能否识别出 obj 为 objectx 类型 然后智能提示,现在的编辑器 感觉直接正则扫描全部文件
// 连全局函数 比如 obj.a<lert> 它都能提示。。。
// 可能 写C++ 智能感知太方便了。现在没有IDE 觉得自己就是一个白痴。
}