title: Uncaught TypeError: $(...).text is not a function
body: <p>I have a very simple <a href="http://cfl.bitballoon.com/" rel="nofollow noreferrer">HTML page</a> and I try to execute a simple CSS selector, using cheerio. </p>
  
  <pre><code>const $ = cheerio.load(html);
  console.log($(`body &gt; div &gt; div.-layout-h &gt; div.task-tests--label`).text());
  </code></pre>
  
  <p>Result:<br>
  <code>Input:Output: Expected Output:Console Output:</code>  </p>
  
  <p>My goal is to get the first element and print out its inner text. I have also tried iterating over the selected elements with <code>each()</code>: </p>
  
  <pre><code>const $ = cheerio.load(html);
  $(`body &gt; div &gt; div.-layout-h &gt; div.task-tests--label`).each((i, e) =&gt; {
      console.log(`${i} = ${e.text()}`);
  });  
  </code></pre>
  
  <p>Result: </p>
  
  <pre><code>0 = [object Object]
  1 = [object Object]
  2 = [object Object]
  3 = [object Object]
  </code></pre>
  
  <p>How do I print the inner text of every selected item?</p>