我读了谷歌地图API,它指出:JavaScript:函数名称和函数引用有什么区别?
"callback: The function to call once the script has loaded. If using the Auto-loading feature, this must specify a function name, not a function reference.
有什么区别是一个JavaScript函数名VS函数引用?
http://code.google.com/apis/ajax/documentation/#GoogleLoad
你能提供一个链接到文件片段的确切位置吗?它实际上是用于API本身,还是用于Google JavaScript加载器,或者它是什么?哦,我找到了。 – Pointy 2010-05-11 18:10:23
@Pointy,链接上面 – Teddyk 2010-05-11 18:11:30