开发者

Is showResult a global function name in SSJS?

开发者 https://www.devze.com 2023-03-22 08:16 出处:网络
I used showResult as a function name in a script library and when it\'s called,开发者_开发百科 an error

I used showResult as a function name in a script library and when it's called,开发者_开发百科 an error [TypeError] Error calling method showResult(string) on an object of type 'object[JavaScript Object]' occurred. If the function is defined in a xpage or renamed as showResult2, everything is OK.


No. The Reference tab in the Script Editor allows you to see all the global functions. If showResult is a function, it's defined elsewhere (e.g. in a script library).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号