大家帮忙看看这段代码错在哪里?
iWool 2006-01-22 01:05:35 代码:
SparkEventsCalendarDateBoxClass.prototype.$getSize = function ()
{
return({width: this.width, height: this.height});
};
出错提示:
"错误: 元件'元件 10', #initclip,"Line 39: parse error
return({
^
第39行是:“ return({width: this.width, height: this.height}); ”
如果我没理解错,"parse error"应该是拼写错误,但是我的确没看出那里有拼错
请大家指出