【发布时间】:2011-06-23 01:32:15
【问题描述】:
我想做相当于...
//Nonsensical
config.items=[Ext.create('Foo.register.AccountTypeForm',{config:arguments.hidden=true})];
//works ofc, but it looks untidy
arguments.hidden=true;
config.items=[Ext.create('Foo.register.AccountTypeForm',{config:arguments})];
【问题讨论】:
标签: javascript function extjs shorthand