Class JSFunction

    • Field Detail

      • length

        protected JSNumber length
        property length
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
        See Also:
        Number
      • prototype

        public JSFunction prototype
        property prototype
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
        See Also:
        Function
      • constructor

        protected JSFunction constructor
        property constructor
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
        See Also:
        Function
    • Constructor Detail

      • JSFunction

        public JSFunction​(JSString argument_names,
                          JSString body)
        Object Function(argument_names..., body)
        Parameters:
        argument_names - Any number of string arguments, each naming one or more arguments of the Function object to be created.
        body - A string that represents the body of the function. It may contain a number of JavaScript statements, separated by semicolons.
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.