title: Is showResult a global function name in SSJS?
body: <p>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.</p>