Interface Callable

    • Method Detail

      • call

        Object call​(Context cx,
                    Scriptable scope,
                    Scriptable thisObj,
                    Object[] args)
        Perform the call.
        Parameters:
        cx - the current Context for this thread
        scope - the scope to use to resolve properties.
        thisObj - the JavaScript this object
        args - the array of arguments
        Returns:
        the result of the call