title: assign array value to element using loop
body: <p>How can I give <code>li</code> the value of a,b,c? currently with my below code I got all c.</p>
  
  <pre><code>arr = ['a','b','c'];
  
  arr.forEach(function(obj){
  var x = obj;
      $('li').each(function () {
          $(this).text(x);
      });
  
  });
  </code></pre>
  
  <p>Something is wrong with my code?</p>