Arts >> Theater >> Playwriting

How many functions you can write within on script tag?

You can write as many functions as you need within a single `

```

You can call these functions from anywhere in the script tag.

For example, the following code calls the `add` function to add two numbers:

```javascript

var result = add(5, 10);

```

Playwriting

Related Categories