# Iterator Protocol

The next() method contract used to produce a sequence of values.

## What is **Iterator Protocol** in JavaScript?

**Iterator Protocol** — The next() method contract used to produce a sequence of values.

```javascript
const iterator = ["Ada", "Lin"][Symbol.iterator]();
const first = iterator.next();
```

Level: Freelancer · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/iterator-protocol
