> For the complete documentation index, see [llms.txt](https://pollz.gitbook.io/pollz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pollz.gitbook.io/pollz/api-reference/polloptions/addoption.md).

# addOption()

**`addOption(option: string): Promise<PollWithOptions>`**

Add a new option to the specified poll.

**Parameters:**

* `option` (string): The label for the new option.

**Returns:**

* A `Promise` resolving to the updated poll object (`PollWithOptions`) after adding the new option.

**Example:**

```javascript
const newOption = await pollOptions.addOption('New Option');
console.log('New Poll Option:', newOption);
```
