你能把一个函数称为对象吗?例如:
function Tip(txt){ this.content = txt; this.shown = false; }
和:
var tip = new Tip(elem.attr('title'));
我的问题:
new
javascript function object
function ×1
javascript ×1
object ×1