CallFunction(string, object[]) Method
Calls a JavaScript function.
Namespace
Statiq.Common
Containing Type
IJavaScriptEngine

Syntax

object CallFunction(string functionName, params object[] args)

Parameters

Name Type Description
functionName string Function name.
args object[] Function arguments.

Return Value

Type Description
object Result of the function execution.