e data that&apos;s actually in the list.
You&apos;re editing a temporary copy.</p>
<h3 id="pairs">pairs</h3>
<p>Another function for programming for loops with special functionality is <code>pairs</code>.
This will iterate over every key in a table:</p>
<pre><code class="lang-lua"><span class="hljs-built_in">table</span> = {
  cat = <span class="hljs-string">&apos;meow&apos;</span>,
  dog = <span class="hljs-string">&apos;bark&apos;</span>
}

<span class="hljs-keyword">for</span> key, value <span class="hlj