I have the following code:
var obj = {a:0, b:1, ...}
function f() {...}
obj.f = f // This will make a instance method?
How to make a Class method for the class of obj? Or what's the class of
"obj"?
var obj = {a:0, b:1, ...}
function f() {...}
obj.f = f // This will make a instance method?
How to make a Class method for the class of obj? Or what's the class of
"obj"?
Comment