实现 private 的方法居然是:
var obj = (function(){
var key = new Name();
object[key] = ooxx
object.method = function(){
object[key]
};
return object
)()
8 回复
实现 private 的方法居然是:
var obj = (function(){
var key = new Name();
object[key] = ooxx
object.method = function(){
object[key]
};
return object
)()