我刚刚学习如何最好地组织我的javascript代码,我对我写的这段小代码有疑问:varreportsControllerIndex={plotMapPoints:function(data){//plotspoints},drawMap:function(){$.getJSON('/reports.json',function(data){reportsControllerIndex.plotMapPoints(data);});},run:function(){reportsControllerIndex.drawMap();}};问题是关于从reportsControllerIn