title: get array value by index jquery
body: <p>I have an javascript array that has the following values,</p>
  
  <pre><code>let arr = ["2","3","4","5","6"];
  </code></pre>
  
  <p>I have a second array that has three integers,</p>
  
  <pre><code>let index = [1,3,4];
  </code></pre>
  
  <p>How would I use JQuery (or Javascript) to use the array to get the index from arr, and add it to a new array. I want to add these strings to a new array.</p>
  
  <pre><code>indexArr = ["3","5","6"]
  </code></pre>
  
  <p>Thanks</p>