Function
Function – Creates a Function object.
Description
new Function([string arg, …, string body])
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
arg, … | string | Yes | ||
body | string | No |
Examples
Example #1 – Function example
Create a new function.
Create a new function with parameters.